summary refs log tree commit diff
path: root/changelog.d
diff options
context:
space:
mode:
authorPatrick Cloke <clokep@users.noreply.github.com>2021-06-11 08:17:17 -0400
committerGitHub <noreply@github.com>2021-06-11 08:17:17 -0400
commita14884fbb050f5069b83e344e4ef12a54fe42111 (patch)
treec0db8a3dbbacea38ba7e2c41a77092030396f34f /changelog.d
parentFix sending presence over federation when using workers (#10163) (diff)
downloadsynapse-a14884fbb050f5069b83e344e4ef12a54fe42111.tar.xz
Use the matching complement branch when running tests in CI. (#10160)
This implements similar behavior to sytest where a matching branch is used,
if one exists. This is useful when needing to modify both application code
and tests at the same time. The following rules are used to find a matching
complement branch:

1. Search for the branch name of the pull request. (E.g. feature/foo.)
2. Search for the base branch of the pull request. (E.g. develop or release-vX.Y.)
3. Search for the reference branch of the commit. (E.g. master or release-vX.Y.)
4. Fallback to 'master', the default complement branch name.
Diffstat (limited to '')
-rw-r--r--changelog.d/10160.misc1
1 files changed, 1 insertions, 0 deletions
diff --git a/changelog.d/10160.misc b/changelog.d/10160.misc
new file mode 100644
index 0000000000..80f378130f
--- /dev/null
+++ b/changelog.d/10160.misc
@@ -0,0 +1 @@
+Fetch the corresponding complement branch when performing CI.