Skip to content

Commit 85da884

Browse files
Pass --cov-config option to pytest with coverage.
This works around coverage config discrepancy between the main process and a subprocess. See pytest-dev/pytest-cov#243
1 parent 1ec55aa commit 85da884

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/generate-coverage.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ jobs:
8787
source /opt/intel/oneapi/setvars.sh
8888
python setup.py develop --coverage=True
8989
python -c "import dpctl; print(dpctl.__version__); dpctl.lsplatform()"
90-
pytest -q -ra --disable-warnings --cov dpctl --cov-report term-missing --pyargs dpctl -vv
90+
pytest -q -ra --disable-warnings --cov-config pyproject.toml --cov dpctl --cov-report term-missing --pyargs dpctl -vv
9191
9292
- name: Install coverall dependencies
9393
shell: bash -l {0}

0 commit comments

Comments
 (0)