Skip to content

Commit af50891

Browse files
committed
ci: make a separate job for failure notifiications
1 parent 227615b commit af50891

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.github/workflows/tests.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,11 @@ jobs:
8181
flags: ${{ matrix.python-version }}
8282
token: ${{ secrets.CODECOV_TOKEN }}
8383
verbose: true
84+
notifications:
85+
runs-on: ubuntu-latest
86+
needs: build
87+
if: failure()
88+
steps:
8489
- name: Send notifications of failing tests
8590
if: failure()
8691
uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0

0 commit comments

Comments
 (0)