Skip to content

Commit 82e9a5e

Browse files
committed
remove pytest-cov as test dependencies
1 parent c4a59f7 commit 82e9a5e

File tree

4 files changed

+5
-6
lines changed

4 files changed

+5
-6
lines changed

.github/workflows/conda-package.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ jobs:
211211
- name: Install dpctl
212212
run: |
213213
export CHANNELS="-c $GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}"
214-
export TEST_DEPENDENCIES="pytest pytest-cov cython setuptools"
214+
export TEST_DEPENDENCIES="pytest cython setuptools"
215215
export PACKAGE_VERSION=$(python -c "${VER_SCRIPT1} ${VER_SCRIPT2}")
216216
conda create -n ${{ env.TEST_ENV_NAME }} $PACKAGE_NAME=${PACKAGE_VERSION} ${TEST_DEPENDENCIES} python=${{ matrix.python }} ${CHANNELS}
217217
# Test installed packages
@@ -362,7 +362,7 @@ jobs:
362362
FOR /F "tokens=* USEBACKQ" %%F IN (`python -c "%SCRIPT%"`) DO (
363363
SET PACKAGE_VERSION=%%F
364364
)
365-
SET TEST_DEPENDENCIES=pytest"<8" pytest-cov cython setuptools
365+
SET TEST_DEPENDENCIES=pytest"<8" cython setuptools
366366
conda install -n ${{ env.TEST_ENV_NAME }} ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% %TEST_DEPENDENCIES% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
367367
368368
- name: Report content of test environment

.github/workflows/run-tests-from-dppy-bits.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
4848
- name: Install dpctl
4949
run: |
50-
conda create -n ${{ env.TEST_ENV_NAME }} -c dppy/label/dev ${{ env.CHANNELS }} dpctl pytest pytest-cov cython setuptools c-compiler cxx-compiler
50+
conda create -n ${{ env.TEST_ENV_NAME }} -c dppy/label/dev ${{ env.CHANNELS }} dpctl pytest cython setuptools c-compiler cxx-compiler
5151
5252
- name: Smoke test
5353
run: |
@@ -106,7 +106,7 @@ jobs:
106106

107107
- name: Install dpctl
108108
run: |
109-
conda install -n ${{ env.TEST_ENV_NAME }} -c dppy/label/dev ${{ env.CHANNELS }} dpctl pytest pytest-cov cython setuptools c-compiler cxx-compiler
109+
conda install -n ${{ env.TEST_ENV_NAME }} -c dppy/label/dev ${{ env.CHANNELS }} dpctl pytest cython setuptools c-compiler cxx-compiler
110110
111111
# intel-opencl-rt is not being installed when running conda install dpctl, so do it manually
112112
- name: Install intel-opencl-rt

conda-recipe/meta.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ test:
6363
- cython
6464
- setuptools
6565
- pytest
66-
- pytest-cov
6766

6867
about:
6968
home: https://github.com/IntelPython/dpctl.git

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ readme = {file = "README.md", content-type = "text/markdown"}
6060
requires-python = ">=3.10"
6161

6262
[project.optional-dependencies]
63-
coverage = ["Cython", "pytest", "pytest-cov", "coverage", "tomli"]
63+
coverage = ["Cython", "pytest", "coverage", "tomli"]
6464
docs = [
6565
"Cython",
6666
"graphviz",

0 commit comments

Comments
 (0)