Skip to content

Commit c8ac951

Browse files
authored
Upload coverage data to Codecov (#131)
1 parent d9e0827 commit c8ac951

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/ci.yml

+8
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,11 @@ jobs:
3232
run: |
3333
coverage run runner.py
3434
coverage report
35+
- name: Generate coverage.xml artifact
36+
run: |
37+
coverage xml -o ./coverage.xml
38+
- name: Upload coverage data to Codecov
39+
uses: codecov/codecov-action@v4
40+
with:
41+
files: ./coverage.xml
42+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)