From 3d02b406eddae1e9d012383e1fce26426044d3a4 Mon Sep 17 00:00:00 2001 From: Parth Desai Date: Wed, 7 Feb 2024 17:47:26 +0530 Subject: [PATCH] set test-threads=1 in CI to prevent intermittent test failures --- .github/workflows/ci-tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci-tests.yml b/.github/workflows/ci-tests.yml index 4f15934c..55da6bd7 100644 --- a/.github/workflows/ci-tests.yml +++ b/.github/workflows/ci-tests.yml @@ -178,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