Skip to content

Commit 8312bb6

Browse files
committed
ci: generate coverage
We don't do anything with it yet, aside from displaying the report Signed-off-by: Yann Dirson <[email protected]>
1 parent 47d3dee commit 8312bb6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ jobs:
1212
- name: Install dependencies
1313
run: |
1414
python -m pip install --upgrade pip
15-
pip install pathlib mock pytest pyfakefs
15+
pip install pathlib mock pytest pytest-cov pyfakefs
1616
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
1717
- name: pytest
1818
run: |
19-
pytest tests
19+
pytest --cov --cov-report=xml --cov-report=term tests

0 commit comments

Comments
 (0)