Skip to content
Snippets Groups Projects
Unverified Commit b817574b authored by reivilibre's avatar reivilibre Committed by GitHub
Browse files

Re-enable running Complement tests against Synapse with workers. (#13420)

parent 23768ccb
Branches
Tags
No related merge requests found
...@@ -328,29 +328,8 @@ jobs: ...@@ -328,29 +328,8 @@ jobs:
- arrangement: monolith - arrangement: monolith
database: Postgres database: Postgres
steps: - arrangement: workers
- name: Run actions/checkout@v2 for synapse database: Postgres
uses: actions/checkout@v2
with:
path: synapse
- name: Prepare Complement's Prerequisites
run: synapse/.ci/scripts/setup_complement_prerequisites.sh
- run: |
set -o pipefail
POSTGRES=${{ (matrix.database == 'Postgres') && 1 || '' }} WORKERS=${{ (matrix.arrangement == 'workers') && 1 || '' }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
shell: bash
name: Run Complement Tests
# XXX When complement with workers is stable, move this back into the standard
# "complement" matrix above.
#
# See https://github.com/matrix-org/synapse/issues/13161
complement-workers:
if: "${{ !failure() && !cancelled() }}"
needs: linting-done
runs-on: ubuntu-latest
steps: steps:
- name: Run actions/checkout@v2 for synapse - name: Run actions/checkout@v2 for synapse
...@@ -363,7 +342,7 @@ jobs: ...@@ -363,7 +342,7 @@ jobs:
- run: | - run: |
set -o pipefail set -o pipefail
POSTGRES=1 WORKERS=1 COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt POSTGRES=${{ (matrix.database == 'Postgres') && 1 || '' }} WORKERS=${{ (matrix.arrangement == 'workers') && 1 || '' }} COMPLEMENT_DIR=`pwd`/complement synapse/scripts-dev/complement.sh -json 2>&1 | gotestfmt
shell: bash shell: bash
name: Run Complement Tests name: Run Complement Tests
......
Re-enable running Complement tests against Synapse with workers.
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment