Skip to content

Commit d1cf4ee

Browse files
committed
ci: Update unit tests to give coverage report
1 parent a981605 commit d1cf4ee

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.github/workflows/unit-tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,11 @@ jobs:
4040
- name: Install dependencies
4141
run: uv sync --dev
4242

43-
- name: Run tests
44-
run: uv run pytest
43+
- name: Run tests and check coverage
44+
run: uv run pytest --cov=a2a --cov-report=xml --cov-fail-under=90
45+
46+
- name: Show coverage summary in log
47+
run: uv run coverage report
4548

4649
- name: Upload coverage report
4750
uses: actions/upload-artifact@v4

0 commit comments

Comments
 (0)