Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .coveragerc
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,8 @@
plugins = Cython.Coverage
branch = True
source = dpctl
omit = dpctl/tests/*, dpctl/_version.py
omit = */dpctl/tests/*

[pytest]
addopts = --cov=dpctl

3 changes: 3 additions & 0 deletions conda-recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ test:
requires:
- pytest
- pytest-cov
- cython
source_files:
- .coveragerc

about:
home: https://github.com/IntelPython/dpctl.git
Expand Down
2 changes: 1 addition & 1 deletion conda-recipe/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ set -e
source ${ONEAPI_ROOT}/compiler/latest/env/vars.sh || true

${PYTHON} -c "import dpctl"
pytest -q -ra --disable-warnings --cov dpctl --cov-report term-missing --pyargs dpctl -vv
pytest -q -ra --disable-warnings --cov --cov-report term-missing --pyargs dpctl -vv