mirror of
https://github.com/LemmyNet/lemmy
synced 2024-11-10 06:54:12 +00:00
try running federation tests in same alpine version
This commit is contained in:
parent
4fd6b5f5e1
commit
df2ec0aa38
2 changed files with 2 additions and 4 deletions
|
@ -51,8 +51,6 @@ steps:
|
|||
- /dieselcli/diesel migration run
|
||||
- cargo test --workspace --no-fail-fast
|
||||
|
||||
# TODO: this uses rust 1.48.0, which doesnt work with config-rs, so federation tests fail
|
||||
# https://github.com/LemmyNet/lemmy/issues/1270
|
||||
- name: cargo build
|
||||
image: ekidd/rust-musl-builder:1.47.0
|
||||
volumes:
|
||||
|
@ -62,7 +60,7 @@ steps:
|
|||
- cargo build
|
||||
|
||||
- name: run federation tests
|
||||
image: node:15-buster-slim
|
||||
image: node:15-alpine-3.12
|
||||
commands:
|
||||
- apt-get update
|
||||
- apt-get -y install --no-install-recommends bash curl postgresql-client
|
||||
|
|
|
@ -18,7 +18,7 @@ LEMMY_HOSTNAME=lemmy-alpha:8541 \
|
|||
LEMMY_FEDERATION__ALLOWED_INSTANCES=lemmy-beta,lemmy-gamma,lemmy-delta,lemmy-epsilon \
|
||||
LEMMY_SETUP__ADMIN_USERNAME=lemmy_alpha \
|
||||
LEMMY_SETUP__SITE_NAME=lemmy-alpha \
|
||||
target/debug/lemmy_server &
|
||||
target/debug/lemmy_server
|
||||
|
||||
echo "start beta"
|
||||
LEMMY_HOSTNAME=lemmy-beta:8551 \
|
||||
|
|
Loading…
Reference in a new issue