]> git.ipfire.org Git - thirdparty/fastapi/sqlmodel.git/commitdiff
👷 Configure coverage, error on main tests, don't wait for Smokeshow (#1683)
authorMotov Yurii <109919500+YuriiMotov@users.noreply.github.com>
Fri, 19 Dec 2025 18:16:32 +0000 (19:16 +0100)
committerGitHub <noreply@github.com>
Fri, 19 Dec 2025 18:16:32 +0000 (19:16 +0100)
.github/workflows/test.yml

index 641c8829c666f99d143d746dfdd4069cb77b8ab3..dadb437fbbe3bce47c0b2c41b09736073e2591c6 100644 (file)
@@ -124,7 +124,6 @@ jobs:
         run: uv pip install -r requirements-tests.txt
       - 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
@@ -132,6 +131,7 @@ jobs:
           name: coverage-html
           path: htmlcov
           include-hidden-files: true
+      - run: coverage report --fail-under=99
 
   # https://github.com/marketplace/actions/alls-green#why
   alls-green:  # This job does nothing and is only used for the branch protection