chore: failing sim test notification (#12029)

* test slack bot

* test++

* test++

* works

* Update .github/workflows/sims.yml
This commit is contained in:
Marko 2022-05-25 10:50:53 +02:00 committed by GitHub
parent 1f9871c76c
commit 35f9b82475
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -99,3 +99,19 @@ jobs:
- name: test-sim-multi-seed-short
run: |
make test-sim-multi-seed-short
sims-fail:
needs: [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
if: ${{ failure() }}
runs-on: ubuntu-latest
steps:
- name: Notify Slack on failure
uses: rtCamp/action-slack-notify@12e36fc18b0689399306c2e0b3e0f2978b7f1ee7
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
SLACK_CHANNEL: cosmos-sdk-sims
SLACK_USERNAME: Sim Tests
SLACK_ICON_EMOJI: ':skull:'
SLACK_COLOR: danger
SLACK_MESSAGE: Sims are failing
SLACK_FOOTER: ''