Skip to content

Commit

Permalink
Merge pull request #5037 from wasmerio/sre-395-slack-webhooks-for-was…
Browse files Browse the repository at this point in the history
…mer-integration-tests-failures

post slack message on integration tests ci failure
  • Loading branch information
barankaraaslan authored Sep 3, 2024
2 parents 8f7bbcd + df4fdeb commit d2c55a7
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -913,4 +913,8 @@ jobs:
wasmer login '${{ secrets.WAPM_PROD_TOKEN }}' &&\
wasmer config set registry.url https://registry.wasmer.wtf/graphql &&\
wasmer login '${{ secrets.WAPM_DEV_TOKEN }}' &&\
cargo test --no-fail-fast"
cargo test --no-fail-fast"
- name: notify failure in slack
if: failure()
run: |
curl -X POST -H 'Content-type: application/json' --data '{"text":"Integration tests failed ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}"}' ${{ secrets.INTEGRATION_TEST_SLACK_WEBHOOK }}

0 comments on commit d2c55a7

Please sign in to comment.