]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
👷 Configure coverage, error on main tests, don't wait for Smokeshow (#14536)
authorSebastián Ramírez <tiangolo@gmail.com>
Tue, 16 Dec 2025 17:52:17 +0000 (09:52 -0800)
committerGitHub <noreply@github.com>
Tue, 16 Dec 2025 17:52:17 +0000 (17:52 +0000)
.github/workflows/test.yml

index f68622f27bfb5deb12f4305699674e67b950e177..623807f8a45fded919bfe50bb370cc18e70a2eb3 100644 (file)
@@ -154,7 +154,6 @@ jobs:
           merge-multiple: true
       - run: ls -la coverage
       - run: coverage combine coverage
-      - run: coverage report
       - run: coverage html --title "Coverage for ${{ github.sha }}"
       - name: Store coverage HTML
         uses: actions/upload-artifact@v5
@@ -162,6 +161,7 @@ jobs:
           name: coverage-html
           path: htmlcov
           include-hidden-files: true
+      - run: coverage report --fail-under=100
 
   # https://github.com/marketplace/actions/alls-green#why
   check:  # This job does nothing and is only used for the branch protection