Skip to content

Commit 5abb4d3

Browse files
authored
enable branch coverage (#1589)
1 parent 1650a1e commit 5abb4d3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -188,9 +188,9 @@ jobs:
188188
- name: download datasets
189189
run: python scripts/download_data.py
190190
- name: unit tests
191-
run: pytest -v hvplot --cov=hvplot --cov-append
191+
run: pytest -v hvplot --cov=hvplot --cov-branch --cov-append
192192
- name: unit tests geo
193-
run: pytest -v hvplot --geo --cov=hvplot --cov-append
193+
run: pytest -v hvplot --geo --cov=hvplot --cov-branch --cov-append
194194
- name: examples tests
195195
run: pytest -n logical --dist loadscope --nbval-lax -p no:python
196196
- name: Upload coverage reports to Codecov

pixi.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ pygraphviz = "*"
211211

212212
[feature.test.tasks]
213213
test-unit-geo = 'pytest -v hvplot --geo'
214-
test-unit-cov = 'pytest -v hvplot --cov=hvplot --cov-append'
215-
test-unit-geo-cov = 'pytest -v hvplot --geo --cov=hvplot --cov-append'
214+
test-unit-cov = 'pytest -v hvplot --cov=hvplot --cov-branch --cov-append'
215+
test-unit-geo-cov = 'pytest -v hvplot --geo --cov=hvplot --cov-branch --cov-append'
216216

217217
[feature.test-core.tasks]
218218
test-unit = 'pytest -v hvplot'

0 commit comments

Comments
 (0)