Skip to content

Commit 33afb4b

Browse files
authored
Update setup-fortran action and lcov error handling
Updated setup-fortran action to use the main branch and modified lcov command to ignore 'inconsistent' errors.
1 parent 304d2ca commit 33afb4b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

.github/workflows/fpm-deployment.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Install requirements
2626
run: pip install --upgrade -r config/requirements.txt
2727

28-
- uses: fortran-lang/setup-fortran@v1.6.2
28+
- uses: fortran-lang/setup-fortran@main
2929
id: setup-fortran
3030
with:
3131
compiler: ${{ matrix.toolchain.compiler }}
@@ -81,7 +81,7 @@ jobs:
8181
- name: Checkout code
8282
uses: actions/checkout@v4.2.2
8383

84-
- uses: fortran-lang/setup-fortran@v1.6.2
84+
- uses: fortran-lang/setup-fortran@main
8585
id: setup-fortran
8686
with:
8787
compiler: ${{ matrix.toolchain.compiler }}
@@ -119,7 +119,7 @@ jobs:
119119
# Exclude example files from coverage: use both absolute-path pattern (*/example/*)
120120
# and relative-path pattern (example/**) because lcov 2.x requires ** for recursive matching
121121
# and the fpm build stores paths relative to the project root.
122-
lcov --remove ${{ env.COV_DIR }}/coverage.info '*/example/*' 'example/**' --output-file ${{ env.COV_DIR }}/coverage.info --ignore-errors unused,mismatch
122+
lcov --remove ${{ env.COV_DIR }}/coverage.info '*/example/*' 'example/**' --output-file ${{ env.COV_DIR }}/coverage.info --ignore-errors unused,mismatch,inconsistent
123123
env:
124124
COV_DIR: build/coverage
125125

0 commit comments

Comments
 (0)