Update .woodpecker.yml

This commit is contained in:
dullbananas 2023-12-28 19:31:21 -07:00 committed by GitHub
parent 6477b6d2df
commit 7d8720ce10
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,6 +163,11 @@ steps:
DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
commands:
- diesel migration run
# Make sure that the migration works both with and without the `r` schema
- diesel migration redo
# Run replaceable_schema.sql twice, which fails on the 2nd time if `DROP SCHEMA IF EXISTS r CASCADE` drops the wrong things
- apt update && apt install -y postgresql-client
- psql -f replaceable_schema.sql
- psql -f replaceable_schema.sql
- diesel migration redo
when: *slow_check_paths