From c99c76ada83e0f7497bec36ab67a2fe96643a8c0 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Sun, 23 Mar 2025 16:18:47 +0100 Subject: [PATCH] backend/test: increase parallelism to run all TestBackend tests in parallel --- .github/workflows/tests.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ea6f0175d..bd05da36b 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -185,7 +185,7 @@ jobs: # prepare credentials for Google Cloud Storage tests in a temp file export GOOGLE_APPLICATION_CREDENTIALS=$(mktemp --tmpdir restic-gcs-auth-XXXXXXX) echo $RESTIC_TEST_GS_APPLICATION_CREDENTIALS_B64 | base64 -d > $GOOGLE_APPLICATION_CREDENTIALS - go test -cover -parallel 4 ./internal/backend/... + go test -cover -parallel 5 ./internal/backend/... # only run cloud backend tests for pull requests from and pushes to our # own repo, otherwise the secrets are not available @@ -204,7 +204,6 @@ jobs: cross_compile: strategy: - matrix: # run cross-compile in three batches parallel so the overall tests run faster subset: