We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2c4f1a7 commit 4d071a8Copy full SHA for 4d071a8
.github/workflows/unit-tests.yml
@@ -40,12 +40,13 @@ jobs:
40
- name: Install dependencies
41
run: uv sync --dev
42
43
- - name: Run tests
44
- run: uv run pytest
+ - name: Run tests with coverage
+ run: uv run pytest --cov --cov-report=xml
45
46
- - name: Upload coverage report
47
- uses: actions/upload-artifact@v4
+ - name: Upload coverage to Codecov
+ uses: codecov/codecov-action@v4
48
with:
49
- name: coverage-report-${{ matrix.python-version }}
50
- path: coverage.xml
51
- if-no-files-found: ignore
+ file: ./coverage.xml
+ flags: python-${{ matrix.python-version }}
+ name: codecov-umbrella
52
+ fail_ci_if_error: true
0 commit comments