From f4fae212a2389f3f32679ecb07aafb21e5a0229b Mon Sep 17 00:00:00 2001 From: Akira Hayakawa Date: Sat, 19 Oct 2024 16:50:17 +0900 Subject: [PATCH] ci: Use test-threads=1 --- .github/workflows/ci.yml | 2 +- .github/workflows/codecov.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 667378bd..63eed29d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,7 +22,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 - name: Run tests - run: cargo test + run: cargo test --test-threads=1 test_docsrs: name: Test (docs.rs) diff --git a/.github/workflows/codecov.yml b/.github/workflows/codecov.yml index d0d818b8..95ea15f2 100644 --- a/.github/workflows/codecov.yml +++ b/.github/workflows/codecov.yml @@ -24,7 +24,7 @@ jobs: - name: Install cargo-llvm-cov uses: taiki-e/install-action@cargo-llvm-cov - name: Generate code coverage - run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info + run: cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info -- --test-threads=1 - name: Upload coverage to Codecov uses: codecov/codecov-action@v3 with: