diff options
author | David Robertson <davidr@element.io> | 2021-09-20 17:35:16 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-20 17:35:16 +0100 |
commit | f455b0e4209cd581ea7b75436b178d2843cc6e0d (patch) | |
tree | 5d09344d471f6d30a1d0bf9214d1425045eb9f1b | |
parent | Require type hints in the handlers module. (#10831) (diff) | |
download | synapse-f455b0e4209cd581ea7b75436b178d2843cc6e0d.tar.xz |
GHA: reintroduce an env var for `$GITHUB_HEAD_REF` (#10659)
This should ensure GHA runs synapse against the same-named sytest branch
-rw-r--r-- | .github/workflows/tests.yml | 1 | ||||
-rw-r--r-- | changelog.d/10659.misc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8736699ad8..fa9c5e036a 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -192,6 +192,7 @@ jobs: volumes: - ${{ github.workspace }}:/src env: + SYTEST_BRANCH: ${{ github.head_ref }} POSTGRES: ${{ matrix.postgres && 1}} MULTI_POSTGRES: ${{ (matrix.postgres == 'multi-postgres') && 1}} WORKERS: ${{ matrix.workers && 1 }} diff --git a/changelog.d/10659.misc b/changelog.d/10659.misc new file mode 100644 index 0000000000..d677a521c3 --- /dev/null +++ b/changelog.d/10659.misc @@ -0,0 +1 @@ +Fix GitHub Actions config so we can run sytest on synapse from parallel branches. \ No newline at end of file |