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

added after_script for failing tests

parent b605c325
No related branches found
No related tags found
2 merge requests!103added after_script for failing tests,!90Develop
Pipeline #65298 passed with warnings
......@@ -5,7 +5,7 @@ unit-test-master:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
script:
- go test -race $(go list ./... | grep -v /vendor/) -v -coverprofile=coverage.out
- go test -race $(go list ./... | grep -v /forks/ | grep -v /api/ | grep -v /mocks ) -v -coverprofile=coverage.out
- go tool cover -func=coverage.out
......@@ -16,5 +16,6 @@ unit-test:
rules:
- if: $CI_PIPELINE_SOURCE == "merge_request_event" && $CI_MERGE_REQUEST_TARGET_BRANCH_NAME != $CI_DEFAULT_BRANCH
script:
- go test -race $(go list ./... | grep -v /vendor/) -v -coverprofile=coverage.out
- go test -race $(go list ./... | grep -v /forks/ | grep -v /api/ | grep -v /mocks ) -v -coverprofile=coverage.out
after_script:
- go tool cover -func=coverage.out
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment