Skip to content

Commit 741c5c9

Browse files
authored
ci: remove html and xml reports (#2491)
1 parent f7be7b2 commit 741c5c9

File tree

2 files changed

+2
-22
lines changed

2 files changed

+2
-22
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 22 deletions
Original file line numberDiff line numberDiff 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:

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
253254
skip_covered = true
254255
show_missing = true
255256
ignore_errors = true

0 commit comments

Comments
 (0)