Skip to content
Snippets Groups Projects

Resolve "Isolate Integration Tests"

Merged Ghost User requested to merge 91-isolate-integration-tests into develop
1 file
+ 3
7
Compare changes
  • Side-by-side
  • Inline
+ 3
7
.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
Loading