From 413968810ce470aded05e0d3519601ae6922c284 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 8 Jan 2019 15:52:51 -0800 Subject: have rust rests use env.example (not CI-specific vars) --- .gitlab-ci.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6f90a20e..ffd2947f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -9,9 +9,6 @@ unified_test: POSTGRES_PASSWORD: "fatcat_pw" DATABASE_URL: "postgres://fatcat_user:fatcat_pw@postgres/fatcat_test" TEST_DATABASE_URL: "postgres://fatcat_user:fatcat_pw@postgres/fatcat_test" - AUTH_LOCATION: "dev.fatcat.wiki" - AUTH_KEY_IDENT: "2018-12-31-dev" - AUTH_SECRET_KEY: "VQe8kdn8laZ3MArKAzOeWWNUQgM6IjduG2jwKnSWehQ=" services: - "postgres:11" before_script: @@ -23,6 +20,7 @@ unified_test: script: - rustc --version && cargo --version && diesel --version - cd rust + - cp env.example .env - diesel database reset && diesel migration run - cargo build - cargo test -- --test-threads 1 -- cgit v1.2.3