mirror of
https://github.com/red0124/ssp.git
synced 2025-12-14 21:59:55 +01:00
Update extraction tests, update coverage-ci, update ssp.hpp
This commit is contained in:
3
.github/workflows/coverage.yml
vendored
3
.github/workflows/coverage.yml
vendored
@@ -49,7 +49,7 @@ jobs:
|
||||
apt install -y gcovr lcov
|
||||
|
||||
- name: Configure
|
||||
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug
|
||||
run: cmake -S test -B build -D CMAKE_BUILD_TYPE=Debug -D CMAKE_CXX_FLAGS="-Wall -fprofile-arcs -ftest-coverage --coverage"
|
||||
|
||||
- name: Build
|
||||
run: cmake --build build -j ${{steps.cores.outputs.count}}
|
||||
@@ -62,7 +62,6 @@ jobs:
|
||||
run: |
|
||||
lcov -d . -c -o out.info --rc lcov_branch_coverage=1 --no-external
|
||||
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: Invoke coveralls
|
||||
uses: coverallsapp/github-action@v2
|
||||
|
||||
Reference in New Issue
Block a user