- name: run federation tests
image: node:15-alpine3.12
commands:
- - apt-get update
- - apt-get -y install --no-install-recommends bash curl postgresql-client
+ - apk add bash curl postgresql-client
- bash api_tests/prepare-drone-federation-test.sh
- cd api_tests/
- yarn
#!/bin/sh
-export DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
-diesel migration run
+set -e
+
export LEMMY_DATABASE_URL=postgres://lemmy:password@localhost:5432/lemmy
# Integration tests only work on stable due to a bug in config-rs
# https://github.com/mehcode/config-rs/issues/158