From: Sebastián Ramírez Date: Wed, 8 Oct 2025 09:03:21 +0000 (+0900) Subject: 🔨 Move local coverage logic to its own script (#14166) X-Git-Tag: 0.118.1~2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=485bfedf5d5d4a51c53b12010d685854174da92f;p=thirdparty%2Ffastapi%2Ffastapi.git 🔨 Move local coverage logic to its own script (#14166) --- diff --git a/scripts/coverage.sh b/scripts/coverage.sh new file mode 100755 index 000000000..e07b51ec5 --- /dev/null +++ b/scripts/coverage.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +set -e +set -x + +coverage combine +coverage report +coverage html diff --git a/scripts/test-cov-html.sh b/scripts/test-cov-html.sh index 517ac6422..f87f906dc 100755 --- a/scripts/test-cov-html.sh +++ b/scripts/test-cov-html.sh @@ -4,6 +4,4 @@ set -e set -x bash scripts/test.sh ${@} -coverage combine -coverage report -coverage html +bash scripts/coverage.sh