fix(server): properly parse multiple gas config(backport cosmos/cosmos-sdk#18537) (backport #1337) #1883
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Release Sims | |
# Release Sims workflow runs long-lived (multi-seed & large block size) simulations | |
# This workflow only runs on a pull request added `release` label | |
on: | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
- labeled | |
branches: | |
- main | |
- rc*/* | |
- release/* | |
jobs: | |
cleanup-runs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: rokroskar/workflow-run-cleanup-action@master | |
env: | |
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}" | |
if: "!startsWith(github.ref, 'refs/tags/') && github.ref != 'refs/heads/main' && contains(github.event.pull_request.labels.*.name, 'release')" | |
build: | |
runs-on: ubuntu-latest | |
if: "!contains(github.event.head_commit.message, 'skip-sims') && contains(github.event.pull_request.labels.*.name, 'release')" | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3.5.0 | |
with: | |
go-version: 1.18 | |
- run: | | |
make build | |
install-runsim: | |
runs-on: ubuntu-latest | |
needs: build | |
steps: | |
- uses: actions/setup-go@v3.5.0 | |
with: | |
go-version: 1.18 | |
- name: install runsim | |
run: | | |
export GO111MODULE="on" && go install github.com/cosmos/tools/cmd/runsim@v1.0.0 | |
- uses: actions/cache@v3.2.4 | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-runsim-binary | |
test-sim-multi-seed-long-part1: | |
runs-on: ubuntu-latest | |
needs: [build, install-runsim] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3.5.0 | |
with: | |
go-version: 1.18 | |
- uses: actions/cache@v3.2.4 | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-runsim-binary | |
- name: test-sim-multi-seed-long-part1 | |
env: | |
USE_PREFETCH: NO | |
USE_PRELOAD: 1,4 | |
SAVE_BRANCH_LAUNCH_DEPTH: 1 | |
run: | | |
make test-sim-multi-seed-long-part1 | |
test-sim-multi-seed-long-part2: | |
runs-on: ubuntu-latest | |
needs: [build, install-runsim, test-sim-multi-seed-long-part1] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3.5.0 | |
with: | |
go-version: 1.18 | |
- uses: actions/cache@v3.2.4 | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-runsim-binary | |
- name: test-sim-multi-seed-long-part2 | |
env: | |
USE_PREFETCH: NO | |
USE_PRELOAD: 1,4 | |
SAVE_BRANCH_LAUNCH_DEPTH: 1 | |
run: | | |
make test-sim-multi-seed-long-part2 | |
test-sim-multi-seed-long-part3: | |
runs-on: ubuntu-latest | |
needs: [build, install-runsim, test-sim-multi-seed-long-part2] | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-go@v3.5.0 | |
with: | |
go-version: 1.18 | |
- uses: actions/cache@v3.2.4 | |
with: | |
path: ~/go/bin | |
key: ${{ runner.os }}-go-runsim-binary | |
- name: test-sim-multi-seed-long-part3 | |
env: | |
USE_PREFETCH: NO | |
USE_PRELOAD: 1,4 | |
SAVE_BRANCH_LAUNCH_DEPTH: 1 | |
run: | | |
make test-sim-multi-seed-long-part3 |