Schema diff CI: Fix hanging when Rust module changes (#20129)

Follows: #20117

schema_diff: Move faketime so it doesn't affect `poetry install`

Caused a hang in the CI for
https://github.com/element-hq/synapse/pull/20003
whilst recompiling the Rust module (it seems)

---------

Signed-off-by: Olivier 'reivilibre <oliverw@matrix.org>
This commit is contained in:
Olivier 'reivilibre
2026-08-20 16:43:24 +01:00
committed by GitHub
parent d0b105757e
commit ea4218b16b
3 changed files with 9 additions and 3 deletions
+2 -3
View File
@@ -31,6 +31,7 @@ jobs:
background: true
id: postgres
# Use faketime here for schema deltas that are wall-clock sensitive under Postgres
# For SQLite, faketime is used when invoking `make_full_schema.sh` within the script
run: |
# Build a docker image with faketime
mkdir /tmp/postgres-faketime
@@ -78,10 +79,8 @@ jobs:
PGHOST: localhost
PGUSER: postgres
PGPASSWORD: postgres
# Use faketime here for schema deltas that are wall-clock sensitive under SQLite
run: |
faketime -f "2001-05-25 12:42:42" \
poetry run python .ci/scripts/schema_diff.py \
poetry run python .ci/scripts/schema_diff.py \
--base origin/develop \
> "${{ runner.temp }}/schema_diff.md"