We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 079552d commit d3ca055Copy full SHA for d3ca055
1 file changed
.github/workflows/tests.yml
@@ -82,3 +82,18 @@ jobs:
82
flags: ${{ matrix.python-version }}
83
token: ${{ secrets.CODECOV_TOKEN }}
84
verbose: true
85
+ notifications:
86
+ name: Regression notifications
87
+ runs-on: ubuntu-latest
88
+ needs: build
89
+ if: failure() && github.ref == 'refs/heads/main' && github.event_name != 'workflow_dispatch'
90
+ steps:
91
+ - name: Send notifications of failing tests
92
+ uses: slackapi/slack-github-action@b0fa283ad8fea605de13dc3f449259339835fc52 # v2.1.0
93
+ with:
94
+ errors: true
95
+ webhook: ${{ secrets.SLACK_REGRESSION_FAILURES_WEBHOOK_URL }}
96
+ webhook-type: webhook-trigger
97
+ payload: |
98
+ action_url: "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"
99
+ repository: "${{ github.repository }}"
0 commit comments