Skip to content

Commit

Permalink
Experiment: run flow ci with 16 cores (#924)
Browse files Browse the repository at this point in the history
This shaves almost a minute off flow ci,
& I expect that'll improve as rest of test suite parallelizes
  • Loading branch information
serprex authored Dec 28, 2023
1 parent 12af31e commit efef9a6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
runner: [ubicloud-standard-8-ubuntu-2204-arm]
runner: [ubicloud-standard-2-ubuntu-2204-arm]
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
services:
Expand Down Expand Up @@ -55,6 +55,10 @@ jobs:
json: ${{ secrets.SNOWFLAKE_GH_CI_PKEY }}
dir: "nexus/server/tests/assets/"

- uses: Swatinem/rust-cache@v2
with:
workspaces: nexus

- name: cargo check
run: cargo check
working-directory: ./nexus
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/dev-docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ jobs:
docker-build:
strategy:
matrix:
# ubuntu-latest leverages larger GH runner pool & completes in ~30s instead of ~3m
runner: [ubuntu-latest]
runs-on: ${{ matrix.runner }}
permissions:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/flow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
flow_test:
strategy:
matrix:
runner: [ubicloud-standard-8-ubuntu-2204-arm]
runner: [ubicloud-standard-16-ubuntu-2204-arm]
runs-on: ${{ matrix.runner }}
timeout-minutes: 30
services:
Expand Down

0 comments on commit efef9a6

Please sign in to comment.