Update .woodpecker.yml

This commit is contained in:
dullbananas 2024-05-23 11:27:18 -07:00 committed by GitHub
parent de1c688ba6
commit 0f373563b2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -167,12 +167,13 @@ steps:
image: *rust_image image: *rust_image
environment: environment:
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
DATABASE_URL: postgres://lemmy:password@database:5432/lemmy
RUST_BACKTRACE: "1" RUST_BACKTRACE: "1"
CARGO_HOME: .cargo_home CARGO_HOME: .cargo_home
commands: commands:
- target/lemmy_server migration --all run - target/lemmy_server migration --all run
- <<: *install_diesel_cli - <<: *install_diesel_cli
- diesel print-schema --config-file=diesel.toml # > tmp.schema - diesel print-schema --config-file=diesel.toml > tmp.schema
- diff tmp.schema crates/db_schema/src/schema.rs - diff tmp.schema crates/db_schema/src/schema.rs
when: *slow_check_paths when: *slow_check_paths