Update .woodpecker.yml

This commit is contained in:
dullbananas 2023-12-22 17:51:36 -07:00 committed by GitHub
parent 4dd36f1a15
commit 057315749a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -10,8 +10,9 @@ variables:
- "src/**"
- "**/Cargo.toml"
- "Cargo.lock"
# database migrations
# sql code
- "migrations/**"
- "replaceable_schema.sql"
# typescript tests
- "api_tests/**"
# config files and scripts used by ci
@ -162,6 +163,7 @@ steps:
DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
commands:
- diesel migration run
- psql -f replaceable_schema.sql $DATABASE_URL
- diesel migration redo
when: *slow_check_paths