Skip to content

feat: emergency group index update #9274

feat: emergency group index update

feat: emergency group index update #9274

Workflow file for this run

name: Simulations
on:
merge_group:
types: [checks_requested]
pull_request:
types: [opened, synchronize, reopened, labeled]
concurrency:
group: ci-${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
install-dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-go@v4
with:
go-version: "1.20"
- name: Install runsim
run: export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/runsim@v1.0.0
- uses: actions/cache@v3
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
test-app-non-determinism:
# skip the non determinim simulation test when `skip-e2e-test` label is present on pull request
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e-test') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: "1.20"
cache: true
- name: Test application non-determinism
if: env.GIT_DIFF
run: |
make test-app-non-determinism
test-app-import-export:
# skip the genesis import and export simulation test when `skip-e2e-test` label is present on pull request
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e-test') }}
runs-on: ubuntu-latest
needs: install-dependencies
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: "1.20"
cache: true
- uses: actions/cache@v3
if: env.GIT_DIFF
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
- name: test-app-import-export
if: env.GIT_DIFF
run: |
make test-app-import-export
test-app-after-import:
# skip the genesis import simulation test when `skip-e2e-test` label is present on pull request
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e-test') }}
runs-on: ubuntu-latest
needs: install-dependencies
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: "1.20"
cache: true
- uses: actions/cache@v3
if: env.GIT_DIFF
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
- name: test-app-after-import
if: env.GIT_DIFF
run: |
make test-app-after-import
test-app-multi-seed-short:
# skip this simulation test when `skip-e2e-test` label is present on pull request
if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-e2e-test') }}
runs-on: ubuntu-latest
needs: install-dependencies
steps:
- uses: actions/checkout@v4
- uses: technote-space/get-diff-action@v6.1.2
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/setup-go@v4
if: env.GIT_DIFF
with:
go-version: "1.20"
cache: true
- uses: actions/cache@v3
if: env.GIT_DIFF
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
- name: test-app-multi-seed-short
if: env.GIT_DIFF
run: |
make test-app-multi-seed-short