Merge branch 'ci-coverage' into 'develop'
Test coverage: Switch to covertool to get cobertura output See merge request pleroma/pleroma!3745
This commit is contained in:
commit
8d704d384d
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