add success to sim testing (#12118)

Co-authored-by: Julien Robert <julien@rbrt.fr>
This commit is contained in:
Marko 2022-06-01 20:38:05 +02:00 committed by GitHub
parent bcfd284a4a
commit d4e62df16d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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: ""