Skip to content

Commit f12838c

Browse files
Generating coverage report and location of the regions not coveraged by the tests
Signed-off-by: João Lucas de Sousa Almeida <[email protected]>
1 parent d609b78 commit f12838c

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.github/workflows/test.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,6 @@ jobs:
4242
run: pip list
4343
- name: Test with pytest
4444
run: |
45-
pytest -s tests
45+
pytest -s --cov=terratorch -v --cov-report term-missing tests
4646
4747

pyproject.toml

+4-2
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,11 @@ dev = [
6969
"mkdocstrings[python]",
7070
"mike" # for building docs with versions
7171
]
72+
7273
test = [
73-
"coverage",
74-
"pytest"
74+
"pytest",
75+
"pytest-coverage",
76+
"coverage-badge"
7577
]
7678

7779
mmseg = [

0 commit comments

Comments
 (0)