Skip to content

Sims Nightly (Long) #367

Sims Nightly (Long)

Sims Nightly (Long) #367

Workflow file for this run

name: Sims Nightly (Long)
# Release Sims workflow runs long-lived (multi-seed & large block size) simulations
# This workflow only runs mightly at 8am UTC and on releases
on:
schedule:
- cron: "0 8 * * *"
release:
types: [published]
permissions:
contents: read
concurrency:
group: ci-${{ github.ref }}-sims-nightly-long
cancel-in-progress: true
jobs:
install-runsim:
permissions:
contents: none
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v5
with:
go-version: "1.21"
check-latest: true
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/cache@v3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
test-sim-multi-seed-long:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v5
with:
go-version-file: "go.mod"
check-latest: true
- uses: actions/cache@v3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
- name: test-sim-multi-seed-long
run: |
make test-sim-multi-seed-long
# sims-notify-success:
# needs: [test-sim-multi-seed-long]
# runs-on: ubuntu-latest
# if: ${{ success() }}
# steps:
# - name: Check out repository
# uses: actions/checkout@v3
# - name: Get previous workflow status
# uses: ./.github/actions/last-workflow-status
# id: last_status
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# - name: Notify Slack on success
# if: ${{ steps.last_status.outputs.last_status == 'failure' }}
# uses: rtCamp/[email protected]
# 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 Nightly (Long) are passing
# SLACK_FOOTER: ""
# sims-notify-failure:
# permissions:
# contents: none
# needs: [test-sim-multi-seed-long]
# runs-on: ubuntu-latest
# if: ${{ failure() }}
# steps:
# - name: Notify Slack on failure
# uses: rtCamp/[email protected]
# 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 Nightly (Long) are failing
# SLACK_FOOTER: ""