Skip to content

Commit

Permalink
ci: re-enable HTML coverage report
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Dec 12, 2024
1 parent 9aaf6f1 commit 04b93f1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 16 deletions.
1 change: 0 additions & 1 deletion .github/install-dependency-packages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ GENERAL_PACKAGE_LIST_LINUX=(
python-colorlog
python-pygments
gcovr
# lcov
### ROOT dependencies
binutils
libx11
Expand Down
30 changes: 15 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -434,9 +434,9 @@ jobs:
- name: coverage
if: ${{ matrix.id == 'coverage' }}
run: |
# ninja -C iguana_build coverage-html
ninja -C iguana_build coverage-html
ninja -C iguana_build coverage-text
# mv iguana_build/meson-logs/coveragereport coverage-report
mv iguana_build/meson-logs/coveragereport coverage-report
echo '### Coverage Report' >> $GITHUB_STEP_SUMMARY
echo '```' >> $GITHUB_STEP_SUMMARY
cat iguana_build/meson-logs/coverage.txt >> $GITHUB_STEP_SUMMARY
Expand Down Expand Up @@ -512,13 +512,13 @@ jobs:
name: meson_logs_${{ matrix.id }}
retention-days: 5
path: iguana_build/meson-logs
# - name: upload coverage artifacts
# uses: actions/upload-artifact@v4
# if: ${{ matrix.id == 'coverage' }}
# with:
# name: coverage-report
# retention-days: 5
# path: coverage-report
- name: upload coverage artifacts
uses: actions/upload-artifact@v4
if: ${{ matrix.id == 'coverage' }}
with:
name: coverage-report
retention-days: 5
path: coverage-report
- name: upload validator artifacts
uses: actions/upload-artifact@v4
if: ${{ matrix.id == 'cpp' }}
Expand Down Expand Up @@ -552,18 +552,18 @@ jobs:
with:
name: doc_doxygen
path: doxygen
# - name: download coverage report
# uses: actions/download-artifact@v4
# with:
# name: coverage-report
# path: coverage-report
- name: download coverage report
uses: actions/download-artifact@v4
with:
name: coverage-report
path: coverage-report
- run: tree
- name: collect
run: |
mkdir pages
cp iguana_src/.github/pages-index.html pages/index.html
mv doxygen pages/
# - run: mv coverage-report pages/
- run: mv coverage-report pages/
- run: tree
- uses: actions/upload-pages-artifact@v3
with:
Expand Down

0 comments on commit 04b93f1

Please sign in to comment.