From 696d4313ab0e206602f28dc24a3aa61704d3c9d7 Mon Sep 17 00:00:00 2001 From: Manuel Kieweg <manuel.kieweg@h-da.de> Date: Tue, 30 Mar 2021 12:23:15 +0100 Subject: [PATCH] fix yaml --- build/ci/.test.yml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/build/ci/.test.yml b/build/ci/.test.yml index 4063f4b26..c4b2ce4b4 100644 --- a/build/ci/.test.yml +++ b/build/ci/.test.yml @@ -1,4 +1,4 @@ -.integration-test: &it +integration-test: image: golang:1.14 stage: integration-test needs: [ "apply" ] @@ -10,15 +10,11 @@ - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == "integration-test" allow_failure: true + script: + - go test -race ./test/integration -v -coverprofile=coverage.out after_script: - go tool cover -func=coverage.out - integration-test:nucleus -<<: *it -script: - - cd ./nucleus - - go test -race ./test/integration -v -coverprofile=coverage.out - unit-test: image: golang:1.14 -- GitLab