Skip to content

Commit f189288

Browse files
authored
Update gcovr command and add Codecov options
1 parent 2456c9d commit f189288

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/coverage.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,13 @@ jobs:
4343

4444
- name: Generate coverage (gcovr XML)
4545
run: |
46-
# Create a stable, filtered XML that points to build-side files first
4746
gcovr \
4847
--root "${{ github.workspace }}" \
4948
--object-directory "${{ github.workspace }}/build" \
50-
--filter '.*/fypp/.+\.f90$' \
5149
--exclude '.*(tests|examples|toolchain|docs|benchmarks)/.*' \
5250
--gcov-ignore-parse-errors \
5351
--xml-pretty -o coverage.xml
54-
52+
5553
- name: Rewrite paths from generated .fpp.f90 -> repo .fpp
5654
run: |
5755
python3 - <<'PY'
@@ -77,6 +75,8 @@ jobs:
7775
files: coverage.xml
7876
fail_ci_if_error: false
7977
verbose: true
78+
disable_search: true
79+
disable_file_fixes: true
8080
env:
8181
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
8282

0 commit comments

Comments
 (0)