Skip to content

Commit

Permalink
Also use pushover to notify on tests failure
Browse files Browse the repository at this point in the history
  • Loading branch information
norm committed Dec 5, 2021
1 parent d7ee7be commit 7dff558
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,3 +38,11 @@ jobs:
- name: Run tests
run: |
make test
- name: Notify on failure
env:
PUSHOVER_API_KEY: ${{secrets.PUSHOVER_API_KEY}}
PUSHOVER_USER_KEY: ${{secrets.PUSHOVER_USER_KEY}}
if: failure()
run: |
echo "Tests failed" | ./script/pushover "${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"

0 comments on commit 7dff558

Please sign in to comment.