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

Commit

Permalink
Fix twisted trunk with sytest
Browse files Browse the repository at this point in the history
Install twisted trunk into the correct virtual env and use offline mode
so that twisted trunk doesn't get overridden with the pinned version of
twisted.

Signed-off-by: Sean Quah <seanq@element.io>
  • Loading branch information
Sean Quah authored and David Robertson committed Mar 30, 2022
1 parent cc487f1 commit b753ba7
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/twisted_trunk.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,16 +59,19 @@ jobs:

steps:
- uses: actions/checkout@v2
- uses: matrix-org/setup-python-poetry@dmr/try-extras
with:
python-version: "3.x"
extras: "all"
- name: Patch dependencies
run: .ci/patch_for_twisted_trunk.sh
run: >-
ln -s -T /venv /src/.venv &&
.ci/patch_for_twisted_trunk.sh &&
unlink /src/.venv
working-directory: /src
- name: Run SyTest
run: /bootstrap.sh synapse
working-directory: /src
env:
# Use offline mode to avoid reinstalling the pinned version of
# twisted.
OFFLINE: 1
- name: Summarise results.tap
if: ${{ always() }}
run: /sytest/scripts/tap_to_gha.pl /logs/results.tap
Expand Down

0 comments on commit b753ba7

Please sign in to comment.