Skip to content

Commit

Permalink
cov?
Browse files Browse the repository at this point in the history
  • Loading branch information
fedebenelli committed Dec 29, 2024
1 parent abd25e2 commit 56ee286
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions ci/ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -41,34 +41,22 @@ run_test() {
echoerr "There are wrongly named files in the test directory"

echo Running tests...
fpm test --flag "--coverage"
fpm test --flag "--coverage -g"
}

run_coverage() {
gcovr \
--exclude "build" \
--exclude "test/test_runner.f90" \
--exclude "test/fixtures/taperobinson.f90" \
--exclude "test" \
--exclude "src/adiff/hyperdual.f90" \
--exclude "example" \
--exclude "src/legacy/*" \
--exclude "src/models/excess_gibbs/nrtl.f90" \
--exclude "app"\
--exclude "tools" \
--fail-under-line 90 \
--jacoco coverage.xml

gcovr \
--exclude "build" \
--exclude "test/test_runner.f90" \
--exclude "test/fixtures/taperobinson.f90" \
--exclude "src/adiff/hyperdual.f90" \
--exclude "example" \
--exclude "src/legacy/*" \
--exclude "src/models/excess_gibbs/nrtl.f90" \
--exclude "app"\
--exclude "tools" # \
# --fail-under-line 90
}

python_wrappers(){
Expand Down Expand Up @@ -101,4 +89,4 @@ case $1 in
run_test
run_coverage
resumee;;
esac
esac

0 comments on commit 56ee286

Please sign in to comment.