diff options
author | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-05-23 14:06:13 +0100 |
---|---|---|
committer | Olivier Wilkinson (reivilibre) <oliverw@matrix.org> | 2022-05-26 15:08:19 +0100 |
commit | a974ccbdb084a02f5b72d87d6b194e8c2ee8b47a (patch) | |
tree | f7093afca202cbf44dcb975271c98aa9ea2a34d8 | |
parent | Newsfile (diff) | |
download | synapse-a974ccbdb084a02f5b72d87d6b194e8c2ee8b47a.tar.xz |
Split workers' tests by regex into 4 different jobs for now
-rw-r--r-- | .github/workflows/tests.yml | 12 |
1 files changed, 11 insertions, 1 deletions
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 |