Skip to content

Commit

Permalink
ci: single threaded test compilation
Browse files Browse the repository at this point in the history
This should minimize the risk of oom.
  • Loading branch information
Mirko-von-Leipzig committed Dec 6, 2023
1 parent bf48650 commit 5fc60d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@ jobs:
rm -rf ~/.cargo/registry
rm -rf ~/.cargo/git
- name: Compile unit tests
run: cargo nextest run --all-targets --all-features --workspace --locked --no-run --timings
# --build-jobs 1 as we are constantly OOMing during compilation.
run: cargo nextest run --all-targets --all-features --workspace --locked --no-run --timings --build-jobs 1
- name: Run unit tests
run: timeout 10m cargo nextest run --no-fail-fast --all-targets --all-features --workspace --locked
- name: Store timings
Expand Down

0 comments on commit 5fc60d9

Please sign in to comment.