Update coverage ci

This commit is contained in:
ado 2023-08-08 01:12:05 +02:00
parent d4c9227830
commit ed8f4e3147

View File

@ -61,8 +61,8 @@ jobs:
- name: Generate coverage report
run: |
lcov -d . -c -o out.info --rc lcov_branch_coverage=1 --no-external
lcov -e out.info '*include/ss*hpp' -o filtered_out.info
genhtml --t "SSP Coverage" --legend --demangle-cpp -o html -s --branch-coverage -p $PWD filtered_out.info
lcov -e out.info '*include/ss*hpp' -o filtered.info
genhtml --t "SSP Coverage" --legend --demangle-cpp -o html -s --branch-coverage -p $PWD filtered.info
- name: Archive coverage report
uses: actions/upload-artifact@v3
@ -72,3 +72,6 @@ jobs:
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@v2
with:
github-token: ${{secrets.GITHUB_TOKEN}}
path-to-lcov: ${{github.workspace}}.filtered.info