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

remove controller test from coverage

parent 7c2555fe
Branches
Tags
9 merge requests!246Develop,!245Develop into Master,!244Master into develop2 into master,!219Draft: Testing,!214Test pipelines,!195DO NOT MERGE 2,!194DO NOT MERGE! just for testing,!147Commit-Confirm Mechanic for PND,!138Develop
Pipeline #68941 passed
...@@ -34,16 +34,16 @@ integration-test: ...@@ -34,16 +34,16 @@ integration-test:
- if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH
- if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH - if: $CI_COMMIT_BRANCH != $CI_DEFAULT_BRANCH
allow_failure: true allow_failure: true
after_script:
- go tool cover -func=coverage.out
unit-test: unit-test:
script: script:
- go test -short -race $(go list ./... | grep -v /forks/ | grep -v /api/ | grep -v /mocks ) -v -coverprofile=coverage.out - go test -short -race $(go list ./... | grep -v /forks/ | grep -v /api/ | grep -v /mocks ) -v -coverprofile=coverage.out
after_script:
- go tool cover -func=coverage.out
<<: *test <<: *test
controller-test: controller-test:
script: script:
- cd ./nucleus - cd ./nucleus
- go test -race -v -run TestRun -coverprofile=../coverage.out - go test -race -v -run TestRun
<<: *test <<: *test
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment