From b5da525b8559f0d7ef55fb1a04ca940d13125508 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 24 May 2018 17:42:54 -0700 Subject: update gitlab-ci to run rust tests --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 5d14299a..d89e2b56 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ rust_test: image: "rust:1.26-stretch" variables: - DATABASE_URL: "postgres://postgres@localhost/fatcat_test" + TEST_DATABASE_URL: "postgres://postgres@localhost/fatcat_test" services: - "postgres:9.6" before_script: @@ -12,7 +12,7 @@ rust_test: - cd rust - diesel database reset && diesel migration run - cargo build - - cargo test + - cargo test -- --test-threads 1 rust_build_release: only: -- cgit v1.2.3