Skip to content

Commit

Permalink
Coverage comparison to main
Browse files Browse the repository at this point in the history
  • Loading branch information
erlingrj committed May 21, 2024
1 parent 80ace91 commit e540d3f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,18 @@ jobs:
cmake -Bbuild && cd build
cmake --build .
make test
- make: Run tests on main for coverage comparison
run: |
git checkout main
cmake -Bbuild-old && cd build-old
cmake --build .
make test
if: ${{ github.event_name == 'pull_request' }}
- name: Coverage
uses: romeovs/[email protected]
with:
lcov-file: build/coverage.info
lcov-base: build-old/coverage.info
delete-old-comments: true
github-token: ${{ secrets.GITHUB_TOKEN }}
if: ${{ github.event_name == 'pull_request' }}

0 comments on commit e540d3f

Please sign in to comment.