Merge branch 'add-sandbox-tests' into 'master'
Add sandbox tests See merge request pastebin.run/server!94
This commit is contained in:
commit
6dab9ffbc7
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue
Block a user