Skip to content

Commit 5b40872

Browse files
YuriiMotovsavannahostrowski
authored andcommitted
👷 Configure coverage, error on main tests, don't wait for Smokeshow (fastapilabs#134)
1 parent 979613d commit 5b40872

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎.github/workflows/test.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,14 +107,14 @@ jobs:
107107
- run: uv sync --locked --all-extras --dev
108108
- run: ls -la coverage
109109
- run: uv run coverage combine coverage
110-
- run: uv run coverage report
111110
- run: uv run coverage html --title "Coverage for ${{ github.sha }}"
112111
- name: Store coverage HTML
113112
uses: actions/upload-artifact@v4
114113
with:
115114
name: coverage-html
116115
path: htmlcov
117116
include-hidden-files: true
117+
- run: uv run coverage report --fail-under=100
118118

119119
# https://github.com/marketplace/actions/alls-green#why
120120
check: # This job does nothing and is only used for the branch protection

0 commit comments

Comments
 (0)