Skip to content

Commit 3f20c10

Browse files
authored
Merge pull request #2693 from tanvimoharir/add-codecov
Adding codecov configuration
2 parents 4b64119 + a77319f commit 3f20c10

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

.github/workflows/main.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,14 @@ jobs:
2323
run: |
2424
python -m pip install tox
2525
- name: Run tests
26-
run: tox
26+
run: tox -- --cov-report xml
27+
- name: Upload coverage to Codecov
28+
uses: codecov/codecov-action@v1
29+
with:
30+
flags: >- # Mark which lines are covered by which envs
31+
${{ runner.os }},
32+
${{ matrix.python }}
33+
functionalities: gcov # disable C coverage autodiscovery
2734

2835
release:
2936
needs: test

0 commit comments

Comments
 (0)