Add swagger-types for unit-tests
This commit is contained in:
parent
4a7b2d84c8
commit
be890e2e75
1 changed files with 2 additions and 0 deletions
|
@ -5,6 +5,8 @@ unit_tests:
|
||||||
extends:
|
extends:
|
||||||
- .go-cache
|
- .go-cache
|
||||||
script:
|
script:
|
||||||
|
- ./swagger.sh install
|
||||||
|
- ./swagger.sh init
|
||||||
- go install gotest.tools/gotestsum@latest
|
- go install gotest.tools/gotestsum@latest
|
||||||
- gotestsum --junitfile report.xml --format testname -- ./... -coverprofile=profile.cov
|
- gotestsum --junitfile report.xml --format testname -- ./... -coverprofile=profile.cov
|
||||||
- go tool cover -func profile.cov
|
- go tool cover -func profile.cov
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue