From dbab55a2b454b7fd0fa84f8e2cfda190d893124d Mon Sep 17 00:00:00 2001 From: Niklas Mohrin Date: Thu, 2 Jan 2025 23:41:09 +0100 Subject: [PATCH] Use only one test thread Otherwise the builds made by `TestEnv::command` will conflict with each other. This manifested itself on Windows with > linking with `link.exe` failed: exit code: 1104 > LINK : fatal error LNK1104: cannot open file '...' --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9274a0f..dee3fd8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: Build with logging and webpki roots run: cargo build --features logging,webpki-roots --no-default-features - name: Run tests - run: cargo test + run: cargo test -- --test-threads 1 clippy: name: run clippy lints