1
0

Split workers' tests by regex into 4 different jobs for now

This commit is contained in:
Olivier Wilkinson (reivilibre)
2022-05-23 14:06:13 +01:00
parent 322d22f04e
commit a974ccbdb0

View File

@@ -319,6 +319,16 @@ jobs:
# Test with workers
- workers: workers
regex: 'A-Ea-e'
- workers: workers
regex: 'F-Lf-l'
- workers: workers
regex: 'M-Qm-q'
- workers: workers
regex: 'R-Zr-z'
steps:
# 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:
- run: |
set -o pipefail
WORKERS=${{ matrix.workers && 1 }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
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
shell: bash
name: Run Complement Tests