Skip to content

Commit eb2f0d1

Browse files
Fix workflow
1 parent e498a68 commit eb2f0d1

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/check-build-deploy.yaml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,19 @@ jobs:
165165
key: pytest|${{steps.store-hashed-python-version.outputs.hashed_python_version}}
166166

167167
- name: Run pytest
168-
run: uv run -- pytest # TODO: Add GitHub workflows output format
168+
run: uv run pytest --cov --cov-branch --cov-report=xml --junitxml-junit.xml
169+
170+
- name: Upload test results to Codecov
171+
if: ${{ !cancelled() }}
172+
uses: codecov/test-results-action@v1
173+
with:
174+
token: ${{ secrets.CODECOV_TOKEN }}
175+
176+
- name: Upload coverage report to Codecov
177+
uses: codecov/codecov-action@v5
178+
if: ${{ !cancelled() }}
179+
with:
180+
token: ${{ secrets.CODECOV_TOKEN }}
169181

170182
ruff-lint:
171183
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)