Skip to content

Commit

Permalink
ci: enable coverage-text
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Nov 26, 2024
1 parent 71bdf86 commit a866d01
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -430,19 +430,19 @@ jobs:
done
iguana_src/.github/make-benchmark-table.rb benchmark_{single_threaded,memoize}.txt | xargs -0 -I{} echo {} >> $GITHUB_STEP_SUMMARY
### coverage
# - name: coverage
# if: ${{ matrix.id == 'coverage' }}
# run: |
# ninja -C iguana_build coverage-html
# ninja -C iguana_build coverage-text
# mv iguana_build/meson-logs/coveragereport coverage-report
# echo '### Coverage Report' >> $GITHUB_STEP_SUMMARY
# echo '```' >> $GITHUB_STEP_SUMMARY
# cat iguana_build/meson-logs/coverage.txt >> $GITHUB_STEP_SUMMARY
# echo '```' >> $GITHUB_STEP_SUMMARY
# echo '' >> $GITHUB_STEP_SUMMARY
# echo '- for details, see the `coverage-report` artifact' >> $GITHUB_STEP_SUMMARY
# echo '- to compare to the report from the `main` branch, see <https://jeffersonlab.github.io/iguana/coverage-report>' >> $GITHUB_STEP_SUMMARY
- name: coverage
if: ${{ matrix.id == 'coverage' }}
run: |
# ninja -C iguana_build coverage-html
ninja -C iguana_build coverage-text
# mv iguana_build/meson-logs/coveragereport coverage-report
echo '### Coverage Report' >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
cat iguana_build/meson-logs/coverage.txt >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
echo '' >> $GITHUB_STEP_SUMMARY
# echo '- for details, see the `coverage-report` artifact' >> $GITHUB_STEP_SUMMARY
# echo '- to compare to the report from the `main` branch, see <https://jeffersonlab.github.io/iguana/coverage-report>' >> $GITHUB_STEP_SUMMARY
### test relocatability
- name: test relocatability
if: ${{ matrix.id == 'cpp' }} # don't bother re-running santizers, etc.
Expand Down

0 comments on commit a866d01

Please sign in to comment.