From 4d68aaf10be59194e83dcb0b56d1467f4e35cc55 Mon Sep 17 00:00:00 2001 From: Sam <109683132+kernelsam@users.noreply.github.com> Date: Tue, 27 May 2025 11:30:51 -0700 Subject: [PATCH] remove coverage from slack notifications --- .github/workflows/go-test-darwin.yaml | 6 +++--- .github/workflows/go-test-linux.yaml | 6 +++--- .github/workflows/go-test-windows.yaml | 6 +++--- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/go-test-darwin.yaml b/.github/workflows/go-test-darwin.yaml index 03ba8cb..0d05e50 100644 --- a/.github/workflows/go-test-darwin.yaml +++ b/.github/workflows/go-test-darwin.yaml @@ -94,10 +94,10 @@ jobs: coverage-config: ./.github/coverage/testcoverage.yaml slack-notification: - needs: [go-test-darwin, coverage] - if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-darwin.outputs.status ) && contains(fromJSON('["failure", "cancelled"]'), needs.coverage.outputs.job-status ) && github.event_name == 'schedule' }} + needs: [go-test-darwin] + if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-darwin.outputs.status ) && github.event_name == 'schedule' }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2 with: - job-status: ${{ needs.go-test-darwin.outputs.status && needs.coverage.outputs.job-status }} + job-status: ${{ needs.go-test-darwin.outputs.status }} diff --git a/.github/workflows/go-test-linux.yaml b/.github/workflows/go-test-linux.yaml index 95d4eee..784f039 100644 --- a/.github/workflows/go-test-linux.yaml +++ b/.github/workflows/go-test-linux.yaml @@ -100,10 +100,10 @@ jobs: coverage-config: ./.github/coverage/testcoverage.yaml slack-notification: - needs: [go-test-linux, coverage] - if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-linux.outputs.status ) && contains(fromJSON('["failure", "cancelled"]'), needs.coverage.outputs.job-status ) && (github.ref_name == github.event.repository.default_branch || github.event_name == 'schedule') }} + needs: [go-test-linux] + if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-linux.outputs.status ) && (github.ref_name == github.event.repository.default_branch || github.event_name == 'schedule') }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2 with: - job-status: ${{ needs.go-test-linux.outputs.status && needs.coverage.outputs.job-status }} + job-status: ${{ needs.go-test-linux.outputs.status }} diff --git a/.github/workflows/go-test-windows.yaml b/.github/workflows/go-test-windows.yaml index 56f0a6d..910e721 100644 --- a/.github/workflows/go-test-windows.yaml +++ b/.github/workflows/go-test-windows.yaml @@ -89,10 +89,10 @@ jobs: coverage-config: ./.github/coverage/testcoverage.yaml slack-notification: - needs: [go-test-windows, coverage] - if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-windows.outputs.status ) && contains(fromJSON('["failure", "cancelled"]'), needs.coverage.outputs.job-status ) && github.event_name == 'schedule' }} + needs: [go-test-windows] + if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.go-test-windows.outputs.status ) && github.event_name == 'schedule' }} secrets: SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }} uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2 with: - job-status: ${{ needs.go-test-windows.outputs.status && needs.coverage.outputs.job-status }} + job-status: ${{ needs.go-test-windows.outputs.status }}