diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-24 17:42:54 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-05-24 17:42:54 -0700 |
commit | b5da525b8559f0d7ef55fb1a04ca940d13125508 (patch) | |
tree | 7b2f9f415486bcc63c7631f550f94e12e15bf1e5 | |
parent | 6ece23cce5f90eed034ea34a1c751da64d812a87 (diff) | |
download | fatcat-b5da525b8559f0d7ef55fb1a04ca940d13125508.tar.gz fatcat-b5da525b8559f0d7ef55fb1a04ca940d13125508.zip |
update gitlab-ci to run rust tests
-rw-r--r-- | .gitlab-ci.yml | 4 |
1 files changed, 2 insertions, 2 deletions
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: |