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:
207
207
- run : uv sync --package pydantic-ai-slim --only-dev
208
208
- run : rm .coverage/.coverage.*-py3.9-* # Exclude 3.9 coverage as it gets the wrong line numbers, causing invalid failures.
209
209
- 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
232
211
233
212
- run : uv run strict-no-cover
234
213
env :
Original file line number Diff line number Diff line change @@ -250,6 +250,7 @@ source = [
250
250
251
251
# https://coverage.readthedocs.io/en/latest/config.html#report
252
252
[tool .coverage .report ]
253
+ fail_under = 100
253
254
skip_covered = true
254
255
show_missing = true
255
256
ignore_errors = true
You can’t perform that action at this time.
0 commit comments