Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
use test thread == 1 to run test sequantially
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthDesai committed Feb 7, 2024
1 parent eda7cb3 commit dea04f3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,10 @@ env:
# Not needed in CI, should make things a bit faster
CARGO_INCREMENTAL: 0
CARGO_TERM_COLOR: always
MAX_TARGET_SIZE: 1024 # MB
# TODO: AES flag is such that we have decent performance on ARMv8, remove once `aes` crate bumps MSRV to at least
# 1.61: https://github.com/RustCrypto/block-ciphers/issues/373
RUSTFLAGS: -C strip=symbols -C opt-level=3 --cfg aes_armv8
RUSTFLAGS: -C strip=symbols -C opt-level=s --cfg aes_armv8

jobs:
fmt:
Expand Down Expand Up @@ -177,11 +178,11 @@ jobs:
run: cargo cache

- name: Build and run tests (linux & windows)
run: cargo test --locked
run: cargo test --locked -- --test-threads 1
if: runner.os != 'macOS'

- name: Build and run tests (macOS)
run: cargo test --locked --no-default-features
run: cargo test --locked --no-default-features -- --test-threads 1
if: runner.os == 'macOS'

- name: Clean unused artifacts
Expand Down

0 comments on commit dea04f3

Please sign in to comment.