Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
GHA: reintroduce an env var for $GITHUB_HEAD_REF (#10659)
Browse files Browse the repository at this point in the history
This should ensure GHA runs synapse against the same-named sytest branch
  • Loading branch information
David Robertson authored Sep 20, 2021
1 parent b359061 commit f455b0e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}
Expand Down
1 change: 1 addition & 0 deletions changelog.d/10659.misc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix GitHub Actions config so we can run sytest on synapse from parallel branches.

0 comments on commit f455b0e

Please sign in to comment.