Skip to content

Commit

Permalink
ci: add coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
marijanp committed Mar 21, 2024
1 parent ed75fbd commit d9d391a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ jobs:

- name: coverage
if: matrix.os == 'ubuntu-latest'
run: nix build -L --no-link --show-trace .#checks.x86_64-linux.coverage-report
run: nix build -L --out-link coverage-result --show-trace .#checks.x86_64-linux.coverage-report

- name: report coverage
if: matrix.os == 'ubuntu-latest'
uses: 5monkeys/cobertura-action@v13
with:
path: coverage-result/cobertura.xml
minimum_coverage: 50

- name: kairos x86_64-linux
if: matrix.os == 'ubuntu-latest'
Expand Down

0 comments on commit d9d391a

Please sign in to comment.