From a974ccbdb084a02f5b72d87d6b194e8c2ee8b47a Mon Sep 17 00:00:00 2001 From: "Olivier Wilkinson (reivilibre)" Date: Mon, 23 May 2022 14:06:13 +0100 Subject: [PATCH] Split workers' tests by regex into 4 different jobs for now --- .github/workflows/tests.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ce4c30d698..24e02021d5 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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