Skip to content

Commit

Permalink
fixup codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Glamhoth committed Jun 25, 2024
1 parent 5615123 commit 50cea6b
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/build_and_test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,12 @@ jobs:
lcov --directory . --gcov-tool llvm_gcov.sh --capture --output-file coverage.info
lcov --remove coverage.info '/usr/*' "$GITHUB_WORKSPACE"'/extern/*' --output-file coverage.info
lcov --list coverage.info
- uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
fail_ci_if_error: true
files: ./build/coverage.info
name: repo-template

7 changes: 7 additions & 0 deletions codecov.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
comment:
layout: "diff, files"
behavior: default
require_changes: false
require_base: false
require_head: true
hide_project_coverage: false

0 comments on commit 50cea6b

Please sign in to comment.