diff options
author | kegsay <kegan@matrix.org> | 2023-10-12 11:33:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-12 11:33:14 +0100 |
commit | f710d5480bc965a4697d42d293f1f46ee9905603 (patch) | |
tree | 8d0f3a694156d1224365c1fb66d185ae7d02b58e | |
parent | Convert user_get_threepids response to attrs. (#16468) (diff) | |
download | synapse-f710d5480bc965a4697d42d293f1f46ee9905603.tar.xz |
Update complement.sh to match new public API shape (#16466)
* Update complement.sh to match new public API shape Sister PR to https://github.com/matrix-org/complement/pull/666 Context: https://github.com/matrix-org/complement/issues/654#issuecomment-1746613495 * Changelog * Pedantry * Run complement plz
-rw-r--r-- | .github/workflows/tests.yml | 1 | ||||
-rw-r--r-- | changelog.d/16466.misc | 1 | ||||
-rwxr-xr-x | scripts-dev/complement.sh | 4 |
3 files changed, 4 insertions, 2 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7dbd83908e..fcbd40b746 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -56,6 +56,7 @@ jobs: - 'pyproject.toml' - 'poetry.lock' - 'docker/**' + - 'scripts-dev/complement.sh' linting: - 'synapse/**' diff --git a/changelog.d/16466.misc b/changelog.d/16466.misc new file mode 100644 index 0000000000..471056bb0f --- /dev/null +++ b/changelog.d/16466.misc @@ -0,0 +1 @@ +Update complement.sh to match new public API shape. diff --git a/scripts-dev/complement.sh b/scripts-dev/complement.sh index 8416b55674..3e0cddb527 100755 --- a/scripts-dev/complement.sh +++ b/scripts-dev/complement.sh @@ -214,7 +214,7 @@ fi extra_test_args=() -test_tags="synapse_blacklist,msc3874,msc3890,msc3391,msc3930,faster_joins" +test_packages="./tests/csapi ./tests ./tests/msc3874 ./tests/msc3890 ./tests/msc3391 ./tests/msc3930 ./tests/msc3902" # All environment variables starting with PASS_ will be shared. # (The prefix is stripped off before reaching the container.) @@ -277,4 +277,4 @@ export PASS_SYNAPSE_LOG_TESTING=1 echo "Images built; running complement" cd "$COMPLEMENT_DIR" -go test -v -tags $test_tags -count=1 "${extra_test_args[@]}" "$@" ./tests/... +go test -v -tags "synapse_blacklist" -count=1 "${extra_test_args[@]}" "$@" $test_packages |