diff --git a/build/ci/.test.yml b/build/ci/.test.yml index 4063f4b263e0a8bcc64a30b6a1750bd83f81cf55..c4b2ce4b4212b14a906f4d5b67f58bf289915c5b 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