Skip to content

Commit f11f922

Browse files
authored
Merge pull request #8 from kumaranvpl/fix-code-cov-upload
Restore code-cov upload
2 parents 73e519b + 533c3d9 commit f11f922

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/test.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,13 @@ jobs:
4242
if: matrix.os == 'windows-latest'
4343
run: |
4444
./scripts/poetry_test.bat
45-
45+
- name: Upload coverage to Codecov
46+
if: matrix.os == 'ubuntu-latest'
47+
uses: codecov/codecov-action@v4
48+
with:
49+
token: ${{ secrets.CODECOV_TOKEN }}
50+
file: ./coverage.xml
51+
flags: unittests
4652
check: # This job does nothing and is only used for the branch protection
4753
if: github.event.pull_request.draft == false
4854

0 commit comments

Comments
 (0)