Update .woodpecker.yml

This commit is contained in:
dullbananas 2024-05-23 13:05:57 -07:00 committed by GitHub
parent 1e56bdef4d
commit 1a7189787d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -196,8 +196,12 @@ steps:
RUST_BACKTRACE: "1"
CARGO_HOME: .cargo_home
commands:
# Install pg_dump, which is used by schema setup test
# Install pg_dump for the schema setup test (must match server version)
- apt update && apt install -y lsb-release
- sh -c 'echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list'
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
- apt update && apt install -y postgresql-client-16
# Run tests
- export LEMMY_CONFIG_LOCATION=../../config/config.hjson
- cargo test --workspace --no-fail-fast
when: *slow_check_paths