diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4f2d6a4..3eec551 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -31,6 +31,8 @@ test:stable: &test stage: test services: - postgres + - name: registry.gitlab.com/pastebin.run/sandbox/master + alias: sandbox variables: POSTGRES_DB: db POSTGRES_USER: user @@ -38,7 +40,7 @@ test:stable: &test image: rust:latest script: - *init - - DATABASE_URL=postgresql://user:password@postgres/db cargo test --verbose --features=database_tests + - DATABASE_URL=postgresql://user:password@postgres/db SANDBOX_URL=http://sandbox:8888 cargo test --verbose --features=database_tests,sandbox_tests - *clean_cargo cache: key: ${CI_JOB_NAME}