1
0

Clarify a CI workflow step for Twisted trunk

Signed-off-by: Dan Callahan <danc@element.io>
This commit is contained in:
Dan Callahan
2022-04-07 11:02:34 +01:00
parent a653c20c01
commit 232a270d45

View File

@@ -59,10 +59,14 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Patch dependencies
run: >-
ln -s -T /venv /src/.venv &&
.ci/patch_for_twisted_trunk.sh &&
unlink /src/.venv
# Note: The script below runs poetry against a virtualenv in /src/.venv/
# ...but the sytest-synapse container expects it to be in /venv/
# So we temporarily symlink it, run poetry, then remove the link.
# Tidying up is important because `/src` is a mounted volume.
run: |
ln -s -T /venv /src/.venv
.ci/patch_for_twisted_trunk.sh
rm /src/.venv
working-directory: /src
- name: Run SyTest
run: /bootstrap.sh synapse