Skip to content

Commit eae9eb6

Browse files
committed
remove coverage check from slack notification
1 parent c34b3d5 commit eae9eb6

3 files changed

Lines changed: 7 additions & 7 deletions

File tree

.github/workflows/pytest-darwin.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ jobs:
9595
uses: senzing-factory/build-resources/.github/workflows/python-coverage-comment.yaml@v2
9696

9797
slack-notification:
98-
needs: [pytest-darwin, coverage]
99-
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.pytest-darwin.outputs.status ) && contains(fromJSON('["failure", "cancelled"]'), needs.coverage.outputs.job-status ) && github.event_name == 'schedule' }}
98+
needs: [pytest-darwin]
99+
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.pytest-darwin.outputs.status ) && github.event_name == 'schedule' }}
100100
secrets:
101101
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
102102
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
103103
with:
104-
job-status: ${{ needs.pytest-darwin.outputs.status && needs.coverage.outputs.job-status }}
104+
job-status: ${{ needs.pytest-darwin.outputs.status }}

.github/workflows/pytest-linux.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
pull_request:
66
branches: [main]
77
schedule:
8-
- cron: "15 7,17 * * *"
8+
- cron: "15 7 * * *"
99

1010
env:
1111
LD_LIBRARY_PATH: /opt/senzing/er/lib

.github/workflows/pytest-windows.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,10 +95,10 @@ jobs:
9595
uses: senzing-factory/build-resources/.github/workflows/python-coverage-comment.yaml@v2
9696

9797
slack-notification:
98-
needs: [pytest-windows, coverage]
99-
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.pytest-windows.outputs.status ) && contains(fromJSON('["failure", "cancelled"]'), needs.coverage.outputs.job-status ) && github.event_name == 'schedule' }}
98+
needs: [pytest-windows]
99+
if: ${{ always() && contains(fromJSON('["failure", "cancelled"]'), needs.pytest-windows.outputs.status ) && github.event_name == 'schedule' }}
100100
secrets:
101101
SLACK_BOT_TOKEN: ${{ secrets.SLACK_BOT_TOKEN }}
102102
uses: senzing-factory/build-resources/.github/workflows/build-failure-slack-notification.yaml@v2
103103
with:
104-
job-status: ${{ needs.pytest-windows.outputs.status && needs.coverage.outputs.job-status }}
104+
job-status: ${{ needs.pytest-windows.outputs.status }}

0 commit comments

Comments
 (0)