diff options
author | Patrick Cloke <clokep@users.noreply.github.com> | 2021-06-11 08:17:17 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-11 08:17:17 -0400 |
commit | a14884fbb050f5069b83e344e4ef12a54fe42111 (patch) | |
tree | c0db8a3dbbacea38ba7e2c41a77092030396f34f /synctl | |
parent | Fix sending presence over federation when using workers (#10163) (diff) | |
download | synapse-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 'synctl')
0 files changed, 0 insertions, 0 deletions