From 6dbff6560f013a0c4318f7dd24fdb05f70a15b43 Mon Sep 17 00:00:00 2001 From: Jason Couture Date: Tue, 3 Jan 2023 19:57:49 -0500 Subject: [PATCH 1/2] Limit CI runs to 4 threads --- .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 ec952c33..561beb5b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -60,7 +60,7 @@ jobs: - name: Run api tests run: cargo test -p bootloader_api - name: Run integration tests - run: cargo test + run: cargo test -- --test-threads=4 fmt: name: Check Formatting From e2e8bef217d18f22bebe2d8d58b4cfb790e6e897 Mon Sep 17 00:00:00 2001 From: Jason Couture Date: Wed, 4 Jan 2023 19:39:00 -0500 Subject: [PATCH 2/2] Limit test threads to 1, and increase timeout to 60 minutes --- .github/workflows/ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 561beb5b..e06b0c27 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -29,7 +29,7 @@ jobs: matrix: os: [ubuntu-latest, macos-latest, windows-latest] runs-on: ${{ matrix.os }} - timeout-minutes: 30 + timeout-minutes: 60 steps: - uses: actions/checkout@v3 @@ -60,7 +60,7 @@ jobs: - name: Run api tests run: cargo test -p bootloader_api - name: Run integration tests - run: cargo test -- --test-threads=4 + run: cargo test -- --test-threads=1 fmt: name: Check Formatting