Skip to content
Snippets Groups Projects
Commit 4d72c04a authored by Fabian Seidl's avatar Fabian Seidl
Browse files

Fix missing test coverage

See merge request !301
parent 76fdab14
Branches
Tags
2 merge requests!301Fix missing test coverage,!264WIP: Develop
Pipeline #100598 passed
...@@ -18,6 +18,7 @@ unit-test: ...@@ -18,6 +18,7 @@ unit-test:
- cd controller - cd controller
- make ci-unit-test - make ci-unit-test
after_script: after_script:
- cd controller
- go tool cover -func=coverage.out - go tool cover -func=coverage.out
<<: *test <<: *test
......
...@@ -53,7 +53,7 @@ ci-unit-test: ci-install-tools ...@@ -53,7 +53,7 @@ ci-unit-test: ci-install-tools
ENVIRONMENT=testing gotestsum --junitfile report.xml --format testname -- -short -race $$( go list ./... | grep -v /forks/ | grep -v /mocks ) -v -coverprofile=coverage.out ENVIRONMENT=testing gotestsum --junitfile report.xml --format testname -- -short -race $$( go list ./... | grep -v /forks/ | grep -v /mocks ) -v -coverprofile=coverage.out
ci-controller-test: ci-install-tools ci-controller-test: ci-install-tools
ENVIRONMENT=testing gotestsum --junitfile report.xml --format testname -- -race -v -run TestRun ENVIRONMENT=testing gotestsum --junitfile report.xml --format testname -- -race -v -run TestRun -coverprofile=coverage.out
integration-test-nucleus: integration-test-nucleus:
ENVIRONMENT=testing &&\ ENVIRONMENT=testing &&\
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment