ci: Use large box for 052 branch sims on CI (#21067)
This commit is contained in:
parent
d6ad92db0f
commit
897f4f8484
67
.github/workflows/sims-052.yml
vendored
67
.github/workflows/sims-052.yml
vendored
@ -13,7 +13,9 @@ concurrency:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read # for actions/checkout to fetch code
|
||||
runs-on: large-sdk-runner
|
||||
if: "!contains(github.event.head_commit.message, 'skip-sims')"
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -25,26 +27,9 @@ jobs:
|
||||
check-latest: true
|
||||
- run: make build
|
||||
|
||||
install-runsim:
|
||||
permissions:
|
||||
contents: none
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
steps:
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22"
|
||||
check-latest: true
|
||||
- name: Install runsim
|
||||
run: go install github.com/cosmos/tools/cmd/runsim@v1.0.0
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/go/bin
|
||||
key: ${{ runner.os }}-go-runsim-binary
|
||||
|
||||
test-sim-import-export:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build, install-runsim]
|
||||
runs-on: large-sdk-runner
|
||||
needs: [build]
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -54,17 +39,14 @@ jobs:
|
||||
with:
|
||||
go-version: "1.22"
|
||||
check-latest: true
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/go/bin
|
||||
key: ${{ runner.os }}-go-runsim-binary
|
||||
- name: test-sim-import-export
|
||||
run: |
|
||||
make test-sim-import-export
|
||||
|
||||
test-sim-after-import:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build, install-runsim]
|
||||
runs-on: large-sdk-runner
|
||||
needs: [build]
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@ -73,17 +55,14 @@ jobs:
|
||||
with:
|
||||
go-version: "1.22"
|
||||
check-latest: true
|
||||
- uses: actions/cache@v4
|
||||
with:
|
||||
path: ~/go/bin
|
||||
key: ${{ runner.os }}-go-runsim-binary
|
||||
- name: test-sim-after-import
|
||||
run: |
|
||||
make test-sim-after-import
|
||||
|
||||
test-sim-multi-seed-short:
|
||||
runs-on: ubuntu-latest
|
||||
needs: [build, install-runsim]
|
||||
test-sim-deterministic:
|
||||
runs-on: large-sdk-runner
|
||||
needs: [build]
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
@ -92,10 +71,22 @@ jobs:
|
||||
with:
|
||||
go-version: "1.22"
|
||||
check-latest: true
|
||||
- uses: actions/cache@v4
|
||||
- name: test-sim-nondeterminism-streaming
|
||||
run: |
|
||||
make test-sim-nondeterminism-streaming
|
||||
|
||||
test-sim-multi-seed-short:
|
||||
runs-on: large-sdk-runner
|
||||
needs: [build]
|
||||
timeout-minutes: 60
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
path: ~/go/bin
|
||||
key: ${{ runner.os }}-go-runsim-binary
|
||||
ref: "release/v0.52.x"
|
||||
- uses: actions/setup-go@v5
|
||||
with:
|
||||
go-version: "1.22"
|
||||
check-latest: true
|
||||
- name: test-sim-multi-seed-short
|
||||
run: |
|
||||
make test-sim-multi-seed-short
|
||||
@ -103,7 +94,7 @@ jobs:
|
||||
sims-notify-success:
|
||||
needs:
|
||||
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: large-sdk-runner
|
||||
if: ${{ success() }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
@ -130,7 +121,7 @@ jobs:
|
||||
contents: none
|
||||
needs:
|
||||
[test-sim-multi-seed-short, test-sim-after-import, test-sim-import-export]
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: large-sdk-runner
|
||||
if: ${{ failure() }}
|
||||
steps:
|
||||
- name: Notify Slack on failure
|
||||
|
||||
Loading…
Reference in New Issue
Block a user