File tree Expand file tree Collapse file tree 2 files changed +2
-22
lines changed
Expand file tree Collapse file tree 2 files changed +2
-22
lines changed Original file line number Diff line number Diff line change @@ -207,28 +207,7 @@ jobs:
207207 - run : uv sync --package pydantic-ai-slim --only-dev
208208 - run : rm .coverage/.coverage.*-py3.9-* # Exclude 3.9 coverage as it gets the wrong line numbers, causing invalid failures.
209209 - run : uv run coverage combine
210-
211- - run : uv run coverage html --show-contexts --title "Pydantic AI coverage for ${{ github.sha }}"
212-
213- - name : Store coverage html
214- uses : actions/upload-artifact@v4
215- with :
216- name : coverage-html
217- path : htmlcov
218- include-hidden-files : true
219-
220- - run : uv run coverage xml
221-
222- - run : uv run diff-cover coverage.xml --html-report index.html
223-
224- - name : Store diff coverage html
225- uses : actions/upload-artifact@v4
226- with :
227- name : diff-coverage-html
228- path : index.html
229-
230- - run : uv run coverage report --fail-under 100
231- - run : uv run diff-cover coverage.xml --fail-under 100
210+ - run : uv run coverage report
232211
233212 - run : uv run strict-no-cover
234213 env :
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ source = [
250250
251251# https://coverage.readthedocs.io/en/latest/config.html#report
252252[tool .coverage .report ]
253+ fail_under = 100
253254skip_covered = true
254255show_missing = true
255256ignore_errors = true
You can’t perform that action at this time.
0 commit comments