Skip to content
This repository was archived by the owner on Apr 26, 2024. It is now read-only.

Commit cddd77c

Browse files
committed
Run Complement with workers in CI
1 parent 71e8afe commit cddd77c

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/tests.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -310,6 +310,13 @@ jobs:
310310
needs: linting-done
311311
runs-on: ubuntu-latest
312312

313+
strategy:
314+
fail-fast: false
315+
matrix:
316+
include:
317+
- {}
318+
- workers: workers
319+
313320
steps:
314321
# The path is set via a file given by $GITHUB_PATH. We need both Go 1.17 and GOPATH on the path to run Complement.
315322
# See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#adding-a-system-path
@@ -356,7 +363,7 @@ jobs:
356363
357364
- run: |
358365
set -o pipefail
359-
COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
366+
WORKERS=${{ matrix.workers && 1 }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
360367
shell: bash
361368
name: Run Complement Tests
362369

0 commit comments

Comments
 (0)