From 4d442f9a675e0352df24eb577f7e854132e0dd1d Mon Sep 17 00:00:00 2001 From: Eduardo Trujillo <ed@chromabits.com> Date: Sun, 4 Oct 2020 23:50:37 -0700 Subject: [PATCH] Separate test stage + Limit to one core --- .gitlab-ci.yml | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 444cf74..428a9f2 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -2,7 +2,7 @@ stages: - format - build - lint - # - test + - test - image .rust_template: &rust_template @@ -23,14 +23,13 @@ rust-nightly: <<: *rust_template script: - cargo build --verbose - - cargo test --verbose -# rust-nightly-test: -# stage: test -# image: rustlang/rust:nightly -# <<: *rust_template -# script: -# - cargo test --verbose +rust-nightly-test: + stage: test + image: rustlang/rust:nightly + <<: *rust_template + script: + - cargo test --verbose -j 1 rust-nightly-fmt: stage: format -- GitLab