👷 add CI step for coverage

This commit is contained in:
Niels Lohmann 2021-01-31 16:22:44 +01:00
parent 21a193c69b
commit 053ed6c123
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69
2 changed files with 2 additions and 2 deletions

View File

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

View File

@ -130,7 +130,7 @@ jobs:
- name: build
run: cmake --build build --target ci_test_coverage
- name: copy
run: cp -r build/build_coverage/html /workdir ; cp -r build/build_coverage/json.info /workdir
run: pwd ; ls -la ; cp -r /__w/json/json/build/build_coverage/html /workdir ; cp -r /__w/json/json/build/build_coverage/json.info /workdir
- name: archive coverage report
uses: actions/upload-artifact@v2
with: