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

Commit a974ccb

Browse files
committedMay 26, 2022
Split workers' tests by regex into 4 different jobs for now
1 parent 322d22f commit a974ccb

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed
 

‎.github/workflows/tests.yml

+11-1
Original file line numberDiff line numberDiff line change
@@ -319,6 +319,16 @@ jobs:
319319

320320
# Test with workers
321321
- workers: workers
322+
regex: 'A-Ea-e'
323+
324+
- workers: workers
325+
regex: 'F-Lf-l'
326+
327+
- workers: workers
328+
regex: 'M-Qm-q'
329+
330+
- workers: workers
331+
regex: 'R-Zr-z'
322332

323333
steps:
324334
# 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.
@@ -366,7 +376,7 @@ jobs:
366376
367377
- run: |
368378
set -o pipefail
369-
WORKERS=${{ matrix.workers && 1 }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
379+
WORKERS=${{ matrix.workers && 1 }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json ${{ matrix.regex && format('-run Test[{0}]', matrix.regex) || '' }} 2>&1 | gotestfmt
370380
shell: bash
371381
name: Run Complement Tests
372382

0 commit comments

Comments
 (0)