From 35f9b824753a9ce308c3393afeb22ddda69419ce Mon Sep 17 00:00:00 2001 From: Marko Date: Wed, 25 May 2022 10:50:53 +0200 Subject: [PATCH] chore: failing sim test notification (#12029) * test slack bot * test++ * test++ * works * Update .github/workflows/sims.yml --- .github/workflows/sims.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index d7e97454a7..1ba72e86db 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -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: ''