mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-06-18 05:10:34 +00:00
Moving federation test back to top.
This commit is contained in:
parent
46f8b5d760
commit
ef5eccad0d
36
.drone.yml
36
.drone.yml
|
@ -17,25 +17,6 @@ steps:
|
||||||
- git submodule update --recursive --remote
|
- git submodule update --recursive --remote
|
||||||
- chown 1000:1000 . -R
|
- chown 1000:1000 . -R
|
||||||
|
|
||||||
- name: cargo build
|
|
||||||
image: clux/muslrust:1.64.0
|
|
||||||
# image: rust:1.64-buster
|
|
||||||
commands:
|
|
||||||
- cargo build
|
|
||||||
- mv target/x86_64-unknown-linux-musl/debug/lemmy_server target/lemmy_server
|
|
||||||
|
|
||||||
- name: run federation tests
|
|
||||||
image: node:alpine
|
|
||||||
environment:
|
|
||||||
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432
|
|
||||||
DO_WRITE_HOSTS_FILE: 1
|
|
||||||
commands:
|
|
||||||
- apk add bash curl postgresql-client
|
|
||||||
- bash api_tests/prepare-drone-federation-test.sh
|
|
||||||
- cd api_tests/
|
|
||||||
- yarn
|
|
||||||
- yarn api-test
|
|
||||||
|
|
||||||
- name: check formatting
|
- name: check formatting
|
||||||
image: rustdocker/rust:nightly
|
image: rustdocker/rust:nightly
|
||||||
commands:
|
commands:
|
||||||
|
@ -76,6 +57,23 @@ steps:
|
||||||
- cargo workspaces exec cargo check --no-default-features
|
- cargo workspaces exec cargo check --no-default-features
|
||||||
- cargo workspaces exec cargo check --all-features
|
- cargo workspaces exec cargo check --all-features
|
||||||
|
|
||||||
|
- name: cargo build
|
||||||
|
image: clux/muslrust:1.64.0
|
||||||
|
commands:
|
||||||
|
- cargo build
|
||||||
|
- mv target/x86_64-unknown-linux-musl/debug/lemmy_server target/lemmy_server
|
||||||
|
|
||||||
|
- name: run federation tests
|
||||||
|
image: node:alpine
|
||||||
|
environment:
|
||||||
|
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432
|
||||||
|
DO_WRITE_HOSTS_FILE: 1
|
||||||
|
commands:
|
||||||
|
- apk add bash curl postgresql-client
|
||||||
|
- bash api_tests/prepare-drone-federation-test.sh
|
||||||
|
- cd api_tests/
|
||||||
|
- yarn
|
||||||
|
- yarn api-test
|
||||||
|
|
||||||
- name: nightly build
|
- name: nightly build
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
|
|
Loading…
Reference in a new issue