From 57b98cf15e82a8522ba30d61b7caaa846dc2de44 Mon Sep 17 00:00:00 2001 From: Nadja Reitzenstein Date: Thu, 5 May 2022 19:34:51 +0200 Subject: [PATCH] Build test harnish as part of the `build` step --- .gitlab-ci.yml | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 0425a54..4e989d6 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -73,11 +73,6 @@ stable:build: - echo -e "\e[0Ksection_start:`date +%s`:build_output\r\e[0KOutput of `cargo check`" - cargo +stable check --verbose - echo -e "\e[0Ksection_end:`date +%s`:build_output\r\e[0K" - -stable:test: - extends: .builds - needs: ["stable:build"] - script: - echo -e "\e[0Ksection_start:`date +%s`:build_output\r\e[0KOutput of `cargo test --no-run`" - cargo +stable test --verbose --no-run --workspace - echo -e "\e[0Ksection_end:`date +%s`:build_output\r\e[0K" @@ -85,7 +80,7 @@ stable:test: .tests: stage: test needs: - - "stable:test" + - "stable:build" script: - > cargo +stable test --workspace $TEST_TARGET --