Skip to content

Commit 180d350

Browse files
Update CI workflow to enhance pytest execution with coverage reports
Modify the GitHub Actions CI configuration to run pytest with parallel execution, coverage reporting for the uncertainty_calculator module, and generate an HTML report. This change aims to improve testing efficiency and provide better insights into code coverage.
1 parent 0cd80d6 commit 180d350

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,7 @@ jobs:
3838
3939
- name: Run pytest
4040
run: |
41-
pytest
41+
pytest -n $(nproc || echo 1) --dist=loadscope \
42+
--cov=uncertainty_calculator --cov-report=xml --cov-report=html \
43+
--html=tests/report.html \
44+
tests/

0 commit comments

Comments
 (0)