diff options
author | Erik Johnston <erik@matrix.org> | 2022-09-08 13:58:31 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-08 13:58:31 +0100 |
commit | 1cc729c177ec734b3e7c56c80bc2b32e100c0fe9 (patch) | |
tree | b9d19e4955813aa73f89b202262294a8b6802a8b /.github/workflows/latest_deps.yml | |
parent | Fix a bug where Synapse fails to start if a signing key file contains an empt... (diff) | |
download | synapse-1cc729c177ec734b3e7c56c80bc2b32e100c0fe9.tar.xz |
Fix latest deps (#13743)
Diffstat (limited to '.github/workflows/latest_deps.yml')
-rw-r--r-- | .github/workflows/latest_deps.yml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/.github/workflows/latest_deps.yml b/.github/workflows/latest_deps.yml index 07229e56bd..8366ac9393 100644 --- a/.github/workflows/latest_deps.yml +++ b/.github/workflows/latest_deps.yml @@ -84,6 +84,12 @@ jobs: if: ${{ matrix.postgres-version }} timeout-minutes: 2 run: until pg_isready -h localhost; do sleep 1; done + + # We nuke the local copy, as we've installed synapse into the virtualenv + # (rather than use an editable install, which we no longer support). If we + # don't do this then python can't find the native lib. + - run: rm -rf synapse/ + - run: python -m twisted.trial --jobs=2 tests env: SYNAPSE_POSTGRES: ${{ matrix.database == 'postgres' || '' }} @@ -128,6 +134,14 @@ jobs: steps: - uses: actions/checkout@v2 + + - name: Install Rust + uses: actions-rs/toolchain@v1 + with: + toolchain: stable + override: true + - uses: Swatinem/rust-cache@v2 + - name: Ensure sytest runs `pip install` # Delete the lockfile so sytest will `pip install` rather than `poetry install` run: rm /src/poetry.lock |