diff --git a/.gitlab/ci/.test.yml b/.gitlab/ci/.test.yml index b494223a2b8104d7d37b9ba316348f815f633375..60fea0a976322b297da439ccb425fd3acebd8336 100644 --- a/.gitlab/ci/.test.yml +++ b/.gitlab/ci/.test.yml @@ -18,6 +18,7 @@ unit-test: - cd controller - make ci-unit-test after_script: + - cd controller - go tool cover -func=coverage.out <<: *test diff --git a/controller/Makefile b/controller/Makefile index 1ca977f2b730d2b27c1feb07c955291e66a52dd5..fdedd2e7b5ae2d83ed942cd18fe1573a2348c160 100644 --- a/controller/Makefile +++ b/controller/Makefile @@ -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 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: ENVIRONMENT=testing &&\