Skip to content

Commit

Permalink
Update sims.yml (#3468)
Browse files Browse the repository at this point in the history
  • Loading branch information
crStiv authored Jan 21, 2025
1 parent bb48f00 commit 04bf8d8
Showing 1 changed file with 13 additions and 30 deletions.
43 changes: 13 additions & 30 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,23 @@ jobs:
build:
runs-on: Gaia-Runner-medium
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/cache@v4.2.0
- uses: actions/cache@v4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
key: ${{ runner.os }}-go-runsim-binary-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-runsim-binary-
test-sim-nondeterminism:
runs-on: Gaia-Runner-medium
needs: newbuild
needs: build
timeout-minutes: 60
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
Expand Down Expand Up @@ -77,42 +81,21 @@ jobs:
make test-sim-multi-seed-short
if: "env.GIT_DIFF != ''"

newbuild:
runs-on: Gaia-Runner-medium
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- name: Install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary

install-runsim:
runs-on: Gaia-Runner-medium
needs: build
steps:
- name: install runsim
run: go install github.com/cosmos/tools/cmd/[email protected]
- uses: actions/[email protected]
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary

test-sim-multi-seed-long:
runs-on: Gaia-Runner-medium
needs: [build, install-runsim]
needs: build
timeout-minutes: 120
steps:
- uses: actions/setup-go@v5
with:
go-version: 1.22.x
- uses: actions/checkout@v4
- uses: actions/cache@v4.2.0
- uses: actions/cache@v4
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
key: ${{ runner.os }}-go-runsim-binary-${{ hashFiles('**/go.sum') }}
restore-keys: |
${{ runner.os }}-go-runsim-binary-
- name: test-sim-multi-seed-long
run: |
make test-sim-multi-seed-long
Expand Down

0 comments on commit 04bf8d8

Please sign in to comment.