👷 add CI step for coverage
This commit is contained in:
parent
21a193c69b
commit
053ed6c123
@ -41,4 +41,4 @@ CheckOptions:
|
|||||||
WarningsAsErrors: '*'
|
WarningsAsErrors: '*'
|
||||||
|
|
||||||
#HeaderFilterRegex: '.*nlohmann.*'
|
#HeaderFilterRegex: '.*nlohmann.*'
|
||||||
HeaderFilterRegex: '.*/include/.*'
|
HeaderFilterRegex: '.*hpp$'
|
||||||
|
|||||||
2
.github/workflows/ubuntu.yml
vendored
2
.github/workflows/ubuntu.yml
vendored
@ -130,7 +130,7 @@ jobs:
|
|||||||
- name: build
|
- name: build
|
||||||
run: cmake --build build --target ci_test_coverage
|
run: cmake --build build --target ci_test_coverage
|
||||||
- name: copy
|
- 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
|
- name: archive coverage report
|
||||||
uses: actions/upload-artifact@v2
|
uses: actions/upload-artifact@v2
|
||||||
with:
|
with:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user