]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🔨 Move local coverage logic to its own script (#14166)
authorSebastián Ramírez <tiangolo@gmail.com>
Wed, 8 Oct 2025 09:03:21 +0000 (18:03 +0900)
committerGitHub <noreply@github.com>
Wed, 8 Oct 2025 09:03:21 +0000 (09:03 +0000)
scripts/coverage.sh [new file with mode: 0755]
scripts/test-cov-html.sh

diff --git a/scripts/coverage.sh b/scripts/coverage.sh
new file mode 100755 (executable)
index 0000000..e07b51e
--- /dev/null
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+set -e
+set -x
+
+coverage combine
+coverage report
+coverage html
index 517ac6422e2fe836060c86a5eae360d6afed3339..f87f906dc23ca7421b67c56eae955d577bc5f399 100755 (executable)
@@ -4,6 +4,4 @@ set -e
 set -x
 
 bash scripts/test.sh ${@}
-coverage combine
-coverage report
-coverage html
+bash scripts/coverage.sh