Skip to content
Snippets Groups Projects
Unverified Commit 1cc729c1 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Fix latest deps (#13743)

parent b7e4bfd0
No related branches found
No related tags found
No related merge requests found
...@@ -84,6 +84,12 @@ jobs: ...@@ -84,6 +84,12 @@ jobs:
if: ${{ matrix.postgres-version }} if: ${{ matrix.postgres-version }}
timeout-minutes: 2 timeout-minutes: 2
run: until pg_isready -h localhost; do sleep 1; done 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 - run: python -m twisted.trial --jobs=2 tests
env: env:
SYNAPSE_POSTGRES: ${{ matrix.database == 'postgres' || '' }} SYNAPSE_POSTGRES: ${{ matrix.database == 'postgres' || '' }}
...@@ -128,6 +134,14 @@ jobs: ...@@ -128,6 +134,14 @@ jobs:
steps: steps:
- uses: actions/checkout@v2 - 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` - name: Ensure sytest runs `pip install`
# Delete the lockfile so sytest will `pip install` rather than `poetry install` # Delete the lockfile so sytest will `pip install` rather than `poetry install`
run: rm /src/poetry.lock run: rm /src/poetry.lock
......
Add a stub Rust crate.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment