mirror of
https://github.com/red0124/ssp.git
synced 2025-01-23 04:55:20 +01:00
Update coverage ci
This commit is contained in:
parent
d4c9227830
commit
ed8f4e3147
7
.github/workflows/coverage.yml
vendored
7
.github/workflows/coverage.yml
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user