Skip to content
Snippets Groups Projects
Commit 696d4313 authored by Manuel Kieweg's avatar Manuel Kieweg
Browse files

fix yaml

parent 4092a138
Branches
Tags
2 merge requests!126Resolve "Isolate Integration Tests",!90Develop
Pipeline #67474 failed
.integration-test: &it integration-test:
image: golang:1.14 image: golang:1.14
stage: integration-test stage: integration-test
needs: [ "apply" ] needs: [ "apply" ]
...@@ -10,15 +10,11 @@ ...@@ -10,15 +10,11 @@
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH - if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == "integration-test" - if: $CI_COMMIT_BRANCH == "integration-test"
allow_failure: true allow_failure: true
script:
- go test -race ./test/integration -v -coverprofile=coverage.out
after_script: after_script:
- go tool cover -func=coverage.out - go tool cover -func=coverage.out
integration-test:nucleus
<<: *it
script:
- cd ./nucleus
- go test -race ./test/integration -v -coverprofile=coverage.out
unit-test: unit-test:
image: golang:1.14 image: golang:1.14
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment