mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-30 00:01:25 +00:00
Revert "remove installation commands that were removed in main branch"
This reverts commit fd65234a76
.
This commit is contained in:
parent
fd65234a76
commit
6345b2dd29
1 changed files with 6 additions and 0 deletions
|
@ -191,6 +191,12 @@ steps:
|
||||||
CARGO_HOME: .cargo_home
|
CARGO_HOME: .cargo_home
|
||||||
LEMMY_TEST_FAST_FEDERATION: "1"
|
LEMMY_TEST_FAST_FEDERATION: "1"
|
||||||
commands:
|
commands:
|
||||||
|
# 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
|
- export LEMMY_CONFIG_LOCATION=../../config/config.hjson
|
||||||
- cargo test --workspace --no-fail-fast
|
- cargo test --workspace --no-fail-fast
|
||||||
when: *slow_check_paths
|
when: *slow_check_paths
|
||||||
|
|
Loading…
Reference in a new issue