We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 370a2f5 commit b2f6adcCopy full SHA for b2f6adc
.github/workflows/clojure.yml
@@ -19,3 +19,16 @@ jobs:
19
- uses: actions/checkout@v4
20
- uses: DeterminateSystems/nix-installer-action@main
21
- run: nix develop -c lein codox
22
+
23
+ notify-test-failures:
24
+ runs-on: ubuntu-latest
25
+ needs: [test, codox]
26
+ if: failure()
27
+ steps:
28
+ - env:
29
+ SECRET: ${{ secrets.MATTERMOST_WEBHOOK_URL }}
30
+ CHANNEL: "active-clojure"
31
+ USERNAME: "GitHub"
32
+ run: |
33
+ URL=https://github.com/${GITHUB_REPOSITORY}/commit/${GITHUB_SHA}
34
+ curl -i --data-urlencode "payload={\"channel\":\"${CHANNEL}\", \"username\":\"${USERNAME}\",\"text\":\"Failure in tests: ${URL}\"}" ${SECRET}
0 commit comments