👷 add CI step for coverage
This commit is contained in:
parent
6413f31d8e
commit
143cc06a77
@ -38,5 +38,7 @@ CheckOptions:
|
||||
- key: hicpp-special-member-functions.AllowSoleDefaultDtor
|
||||
value: 1
|
||||
|
||||
WarningsAsErrors: '*'
|
||||
|
||||
#HeaderFilterRegex: '.*nlohmann.*'
|
||||
HeaderFilterRegex: '^(.*doctest.h)$'
|
||||
HeaderFilterRegex: 'include/.*'
|
||||
|
||||
7
.github/workflows/ubuntu.yml
vendored
7
.github/workflows/ubuntu.yml
vendored
@ -131,4 +131,9 @@ jobs:
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: code-coverage-report
|
||||
path: build_coverage/html
|
||||
path: build/build_coverage/html
|
||||
- name: Coveralls
|
||||
uses: coverallsapp/github-action@master
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
path-to-lcov: build/build_coverage/json.info
|
||||
|
||||
Loading…
Reference in New Issue
Block a user