From dea04f362f2756c11d6018e5da831faf72df7c5c Mon Sep 17 00:00:00 2001 From: Parth Desai Date: Wed, 7 Feb 2024 16:56:17 +0530 Subject: [PATCH] use test thread == 1 to run test sequantially --- .github/workflows/ci-tests.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 176240e..55da6bd 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -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: @@ -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