From 057315749a180ab708fcd0f9886a4658215c1447 Mon Sep 17 00:00:00 2001 From: dullbananas Date: Fri, 22 Dec 2023 17:51:36 -0700 Subject: [PATCH] Update .woodpecker.yml --- .woodpecker.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.woodpecker.yml b/.woodpecker.yml index 1ae2df457..51d7a3839 100644 --- a/.woodpecker.yml +++ b/.woodpecker.yml @@ -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