1
0

Inline CI steps for installing Twisted trunk

Signed-off-by: Dan Callahan <danc@element.io>
This commit is contained in:
Dan Callahan
2022-04-07 13:10:49 +01:00
parent 232a270d45
commit 9225764bc8
2 changed files with 11 additions and 25 deletions

View File

@@ -20,7 +20,10 @@ jobs:
with:
python-version: "3.x"
extras: "all"
- run: .ci/patch_for_twisted_trunk.sh
- run: |
poetry remove twisted
poetry add --extras tls git+https://github.com/twisted/twisted.git#trunk
poetry install --no-interaction --extras "all test"
- run: poetry run mypy
trial:
@@ -33,7 +36,10 @@ jobs:
with:
python-version: "3.x"
extras: "all test"
- run: .ci/patch_for_twisted_trunk.sh
- run: |
poetry remove twisted
poetry add --extras tls git+https://github.com/twisted/twisted.git#trunk
poetry install --no-interaction --extras "all test"
- run: poetry run trial --jobs 2 tests
- name: Dump logs
@@ -65,7 +71,9 @@ jobs:
# Tidying up is important because `/src` is a mounted volume.
run: |
ln -s -T /venv /src/.venv
.ci/patch_for_twisted_trunk.sh
poetry remove twisted
poetry add --extras tls git+https://github.com/twisted/twisted.git#trunk
poetry install --no-interaction --extras "all test"
rm /src/.venv
working-directory: /src
- name: Run SyTest