Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update sims.yml #595

Merged
merged 1 commit into from
Jun 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 4 additions & 22 deletions .github/workflows/sims.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
build:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
if: "!contains(github.event.head_commit.message, 'skip-sims')"
steps:
- uses: actions/checkout@v2
Expand All @@ -21,7 +21,7 @@ jobs:
- run: make build

install-runsim:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: build
steps:
- uses: actions/setup-go@v2.1.4
Expand All @@ -37,7 +37,7 @@ jobs:
key: ${{ runner.os }}-go-runsim-binary

test-sim-nondeterminism:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v2
Expand All @@ -46,21 +46,13 @@ jobs:
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v5
with:
PATTERNS: |
**/**.go
go.mod
go.sum
- uses: actions/cache@v2.1.6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
if: env.GIT_DIFF
- name: test-sim-nondeterminism
run: |
make test-sim-nondeterminism
if: env.GIT_DIFF

#test-sim-import-export:
# runs-on: ubuntu-latest
Expand Down Expand Up @@ -119,7 +111,7 @@ jobs:
# if: env.GIT_DIFF

test-sim-multi-seed-short:
runs-on: ubuntu-latest
runs-on: buildjet-4vcpu-ubuntu-2004
needs: [build, install-runsim]
steps:
- uses: actions/checkout@v2
Expand All @@ -128,20 +120,10 @@ jobs:
go-version: 1.18
- name: Display go version
run: go version
- uses: technote-space/get-diff-action@v5
with:
SUFFIX_FILTER: |
**/**.go
go.mod
go.sum
SET_ENV_NAME_INSERTIONS: 1
SET_ENV_NAME_LINES: 1
- uses: actions/cache@v2.1.6
with:
path: ~/go/bin
key: ${{ runner.os }}-go-runsim-binary
if: env.GIT_DIFF
- name: test-sim-multi-seed-short
run: |
make test-sim-multi-seed-short
if: env.GIT_DIFF