From d4e62df16d2b0a6e886afc87b13c5daa018a9a00 Mon Sep 17 00:00:00 2001 From: Marko Date: Wed, 1 Jun 2022 20:38:05 +0200 Subject: [PATCH] add success to sim testing (#12118) Co-authored-by: Julien Robert --- .github/workflows/sims.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/sims.yml b/.github/workflows/sims.yml index f1db938613..25010cfd99 100644 --- a/.github/workflows/sims.yml +++ b/.github/workflows/sims.yml @@ -119,3 +119,20 @@ jobs: SLACK_COLOR: danger SLACK_MESSAGE: Sims are failing SLACK_FOOTER: "" + + sims-success: + needs: + [test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export] + if: ${{ success() }} + 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: ":white_check_mark:" + SLACK_COLOR: good + SLACK_MESSAGE: Sims are passing + SLACK_FOOTER: ""