Trying again.

pull/1335/head
Dessalines 2020-12-17 15:59:25 -05:00
parent caaf6b178b
commit 1a4e2f4770
1 changed files with 3 additions and 2 deletions

View File

@ -63,13 +63,14 @@ steps:
- mv target/x86_64-unknown-linux-musl/debug/lemmy_server target/lemmy_server - mv target/x86_64-unknown-linux-musl/debug/lemmy_server target/lemmy_server
- name: run federation tests - name: run federation tests
image: node:15-alpine3.12 image: node:15.4.0
environment: environment:
LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432 LEMMY_DATABASE_URL: postgres://lemmy:password@database:5432
DO_WRITE_HOSTS_FILE: 1 DO_WRITE_HOSTS_FILE: 1
commands: commands:
- ls -la target/lemmy_server - ls -la target/lemmy_server
- apk add bash curl postgresql-client # - apk add bash curl postgresql-client
- run apt-get update && apt-get install -y postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3
- bash api_tests/prepare-drone-federation-test.sh - bash api_tests/prepare-drone-federation-test.sh
- cd api_tests/ - cd api_tests/
- yarn - yarn