From ed8f4e3147999385e2c99eb23e2e96bbd0004650 Mon Sep 17 00:00:00 2001 From: ado Date: Tue, 8 Aug 2023 01:12:05 +0200 Subject: [PATCH] Update coverage ci --- .github/workflows/coverage.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f752f8e..76fb882 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -61,8 +61,8 @@ jobs: - name: Generate coverage report run: | lcov -d . -c -o out.info --rc lcov_branch_coverage=1 --no-external - lcov -e out.info '*include/ss*hpp' -o filtered_out.info - genhtml --t "SSP Coverage" --legend --demangle-cpp -o html -s --branch-coverage -p $PWD filtered_out.info + lcov -e out.info '*include/ss*hpp' -o filtered.info + genhtml --t "SSP Coverage" --legend --demangle-cpp -o html -s --branch-coverage -p $PWD filtered.info - name: Archive coverage report uses: actions/upload-artifact@v3 @@ -72,3 +72,6 @@ jobs: - name: Coveralls GitHub Action uses: coverallsapp/github-action@v2 + with: + github-token: ${{secrets.GITHUB_TOKEN}} + path-to-lcov: ${{github.workspace}}.filtered.info