👷 add CI step for coverage

This commit is contained in:
Niels Lohmann 2021-01-31 13:49:27 +01:00
parent 0f43ba9423
commit 6738fbda94
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 3 additions and 3 deletions

View File

@ -41,4 +41,4 @@ CheckOptions:
WarningsAsErrors: '*'
#HeaderFilterRegex: '.*nlohmann.*'
HeaderFilterRegex: '^.*hpp$'
HeaderFilterRegex: '.*\.hpp$'

View File

@ -131,9 +131,9 @@ jobs:
uses: actions/upload-artifact@v2
with:
name: code-coverage-report
path: build/build_coverage/html
path: html
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
path-to-lcov: build/build_coverage/json.info
path-to-lcov: json.info