aboutsummaryrefslogtreecommitdiff
path: root/build/scripts
diff options
context:
space:
mode:
authorTill <2353100+S7evinK@users.noreply.github.com>2023-02-03 13:42:35 +0100
committerGitHub <noreply@github.com>2023-02-03 13:42:35 +0100
commitbaf118b08cee29cf7435a8a871a7aab423baf779 (patch)
treee8013d7d191a2754a19669787b42c7ed84671be3 /build/scripts
parent9c826d064dacc00d4f4f385a09aa2c8d381e7317 (diff)
Add Sytest/Complement coverage to scheduled runs (#2962)
This adds Sytest and Complement coverage reporting to the nightly scheduled CI runs. Fixes a few API mode related issues as well, since we seemingly never really ran them with Complement. Also fixes a bug related to device list changes: When we pass in an empty `newlyLeftRooms` slice, we got a list of all currently joined rooms with the corresponding members. When we then got the `newlyJoinedRooms`, we wouldn't update the `changed` slice, because we already got the user from the `newlyLeftRooms` query. This is fixed by simply ignoring empty `newlyLeftRooms`.
Diffstat (limited to 'build/scripts')
-rwxr-xr-xbuild/scripts/complement-cmd.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build/scripts/complement-cmd.sh b/build/scripts/complement-cmd.sh
index 061bd18e..def091e2 100755
--- a/build/scripts/complement-cmd.sh
+++ b/build/scripts/complement-cmd.sh
@@ -10,7 +10,7 @@ if [[ "${COVER}" -eq 1 ]]; then
--tls-key server.key \
--config dendrite.yaml \
-api=${API:-0} \
- --test.coverprofile=integrationcover.log
+ --test.coverprofile=complementcover.log
else
echo "Not running with coverage"
exec /dendrite/dendrite-monolith-server \