Test coverage: Switch to covertool to get cobertura output
This allows to have coverage information integrated into Gitlab
This commit is contained in:
parent
299255b9bb
commit
be411ad3bc
4 changed files with 11 additions and 6 deletions
|
|
@ -84,7 +84,13 @@ unit-testing:
|
|||
script:
|
||||
- mix ecto.create
|
||||
- mix ecto.migrate
|
||||
- mix coveralls --preload-modules
|
||||
- mix test --cover --preload-modules
|
||||
coverage: '/^Line total: ([^ ]*%)$/'
|
||||
artifacts:
|
||||
reports:
|
||||
coverage_report:
|
||||
coverage_format: cobertura
|
||||
path: coverage.xml
|
||||
|
||||
unit-testing-erratic:
|
||||
stage: test
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue