Skip to content

Commit 1f66d09

Browse files
committed
change from pytest-cov to coverage
1 parent a817cfe commit 1f66d09

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

.github/workflows/python-test.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@ jobs:
3939
- name: Lint with flake8
4040
run: flake8 .
4141
- name: Run tests and collect coverage
42-
run: pytest --cov .
42+
run: |
43+
coverage run --source=tests,clang_tools -m pytest
44+
coverage report -m
45+
coverage html
4346
- name: Upload coverage reports to Codecov
4447
run: |
4548
# Replace `linux` below with the appropriate OS

requirements-dev.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
pytest
2-
pytest-cov
32
coverage
43
flake8

0 commit comments

Comments
 (0)