mirror of
https://github.com/fastapi/sqlmodel.git
synced 2026-02-03 02:53:21 +08:00
👷 Configure coverage, error on main tests, don't wait for Smokeshow (#1683)
This commit is contained in:
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user