Use new go test running syntax for complement. (#10488)

Updates CI and the helper script t ensures all tests are run (in parallel).
code_spécifique_watcha
Patrick Cloke 4 years ago committed by GitHub
parent 2476d5373c
commit 13944678c3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/tests.yml
  2. 1
      changelog.d/10488.misc
  3. 2
      scripts-dev/complement.sh

@ -344,7 +344,7 @@ jobs:
working-directory: complement/dockerfiles
# Run Complement
- run: go test -v -tags synapse_blacklist,msc2403,msc2946,msc3083 ./tests
- run: go test -v -tags synapse_blacklist,msc2403,msc2946,msc3083 ./tests/...
env:
COMPLEMENT_BASE_IMAGE: complement-synapse:latest
working-directory: complement

@ -0,0 +1 @@
Update syntax used to run complement tests.

@ -65,4 +65,4 @@ if [[ -n "$1" ]]; then
fi
# Run the tests!
go test -v -tags synapse_blacklist,msc2946,msc3083,msc2403 -count=1 $EXTRA_COMPLEMENT_ARGS ./tests
go test -v -tags synapse_blacklist,msc2946,msc3083,msc2403 -count=1 $EXTRA_COMPLEMENT_ARGS ./tests/...

Loading…
Cancel
Save