Skip to content
Snippets Groups Projects

Resolve "Adding support and visualization for the test coverage"

Files
2
+ 4
0
@@ -11,6 +11,9 @@
@@ -11,6 +11,9 @@
when: always
when: always
reports:
reports:
junit: report.xml
junit: report.xml
 
coverage_report:
 
coverage_format: cobertura
 
path: ./controller/coverage.xml
needs:
needs:
- build-testing-image
- build-testing-image
@@ -21,6 +24,7 @@ unit-test:
@@ -21,6 +24,7 @@ unit-test:
after_script:
after_script:
- cd controller
- cd controller
- go tool cover -func=coverage.out
- go tool cover -func=coverage.out
 
- gocover-cobertura < coverage.out > coverage.xml
<<: *test
<<: *test
controller-test:
controller-test:
Loading