Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 6 additions & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -328,16 +328,15 @@ jobs:
- name: Require 100% Coverage
id: coverage
run: |
uv tool install 'coverage[toml]'
uv run --extra=dev coverage combine
uv run --extra=dev coverage html --skip-covered --skip-empty

coverage combine
coverage html --skip-covered --skip-empty

# Report and write to summary.
coverage report --format=markdown >> "$GITHUB_STEP_SUMMARY"
# Report and write to summary, without failing yet.
uv run --extra=dev coverage report --format=markdown \
>> "$GITHUB_STEP_SUMMARY" || true

# Report again and fail if under 100%.
coverage report
uv run --extra=dev coverage report

- name: Upload HTML report if check failed
uses: actions/upload-artifact@v7
Expand Down
Loading