Skip to content

Commit

Permalink
chore(ci): create correct coverage.xml for Gitlab
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jan 7, 2022
1 parent cd5da7d commit 2cfe48e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ test:
- pub run test $PUB_VARS --coverage=./coverage > report.jsonl
- pub global run junitreport:tojunit --input report.jsonl --output report.xml
- pub global run coverage:format_coverage --packages=.packages --report-on=lib --lcov -o ./coverage/lcov.info -i ./coverage
- python3 lcov_cobertura.py ./coverage/test/* -o ./coverage.xml
- python3 lcov_cobertura.py ./coverage/lcov.info -o ./coverage.xml
- genhtml coverage/lcov.info
coverage: '/lines\.*: \d+\.\d+\%/'
artifacts:
Expand Down

0 comments on commit 2cfe48e

Please sign in to comment.