Skip to content
Snippets Groups Projects
Verified Commit a8959f61 authored by Levente Polyak's avatar Levente Polyak :rocket:
Browse files

fix(coverage): do not suppress errors and print statistics

parent d89ce4bc
No related branches found
No related tags found
No related merge requests found
...@@ -15,10 +15,16 @@ test: ...@@ -15,10 +15,16 @@ test:
code-coverage: code-coverage:
script: script:
- pacman -Syu --needed --noconfirm podman make jq - pacman -Syu --needed --noconfirm podman make jq
- make test-coverage 2>/dev/null - make test-coverage
- "echo \"Percent coverage: $(jq -r .percent_covered coverage/bats.*/coverage.json)%\"" - jq -r '. |
["Percent covered", .percent_covered],
["Covered lines", .covered_lines],
["Total lines", .total_lines],
["Percent low", .percent_low],
["Percent high", .percent_high] | @tsv' coverage/bats.*/coverage.json
tags: tags:
- vm - vm
coverage: '/Percent covered\s+\d+\.\d+/'
artifacts: artifacts:
reports: reports:
coverage_report: coverage_report:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment