Deploy coverage report to github pages
This commit is contained in:
parent
67f2985107
commit
ca75df5db5
2 changed files with 10 additions and 2 deletions
11
.github/workflows/unit-test.yml
vendored
11
.github/workflows/unit-test.yml
vendored
|
@ -35,4 +35,13 @@ jobs:
|
|||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: coverage_report
|
||||
path: extras/test/unit/lcov.report.zip
|
||||
path: extras/test/unit/lcov.report
|
||||
|
||||
- name: Deploy to GitHub Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
with:
|
||||
github_token: ${{ secrets.GITHUB_TOKEN }}
|
||||
publish_branch: gh-pages
|
||||
publish_dir: extras/test/unit/lcov.report
|
||||
destination_dir: coverage
|
||||
keep_files: true
|
||||
|
|
|
@ -10,4 +10,3 @@ lcov --remove "${filename}.info" "/usr/*/boost/*" "/usr/include/c++/*" --output-
|
|||
|
||||
# generate HTML
|
||||
genhtml "${filename}.info" --output-directory "${filename}.report"
|
||||
zip -r "${filename}.report.zip" "${filename}.report"
|
||||
|
|
Loading…
Add table
Reference in a new issue