From 00ff3e628d31bfe94d95f2341f27cb342ff02767 Mon Sep 17 00:00:00 2001 From: Timon Vonk Date: Wed, 15 Jan 2025 21:03:51 +0100 Subject: [PATCH] Limit to 2 jobs in tests --- .github/workflows/coverage.yml | 2 +- .github/workflows/tests.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index 7e7af78..bcd38f9 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -43,7 +43,7 @@ jobs: tool: cargo-llvm-cov,cargo-nextest - name: Generate code coverage run: | - cargo +nightly llvm-cov nextest --all-features --lcov --output-path lcov.info + cargo +nightly llvm-cov nextest --all-features --lcov --output-path lcov.info -j 2 - name: Coveralls uses: coverallsapp/github-action@v2 diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 167aa03..d3150e5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -48,4 +48,4 @@ jobs: - name: clippy run: cargo clippy --all-targets --all-features - name: "Test" - run: cargo nextest run --all-features + run: cargo nextest run --all-features -j 2