Skip to content

Commit 1053c94

Browse files
author
Diptorup Deb
committed
Directly invoke pytest in package build workflow.
1 parent 6786308 commit 1053c94

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ jobs:
139139
source $CONDA/etc/profile.d/conda.sh
140140
conda activate numba_dpex_env
141141
# echo "libintelocl.so" | tee /etc/OpenCL/vendors/intel-cpu.icd
142-
python -m pytest -q -ra --disable-warnings --pyargs $MODULE_NAME -vv
142+
pytest -q -ra --disable-warnings --pyargs $MODULE_NAME -vv
143143
- name: Run examples
144144
run: |
145145
ls
@@ -209,7 +209,7 @@ jobs:
209209
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
210210
- name: Install numba-dpex
211211
run: |
212-
conda install ${{ env.PACKAGE_NAME }} pytest dpcpp_win-64 dpcpp-llvm-spirv python=${{ matrix.python }} dpctl ${{ matrix.dependencies }} -c $env:GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}
212+
conda install ${{ env.PACKAGE_NAME }} pytest dpcpp_win-64 dpcpp-llvm-spirv python=${{ matrix.python }} dpctl -c $env:GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}
213213
# Test installed packages
214214
conda list
215215
- name: Install opencl_rt
@@ -232,7 +232,7 @@ jobs:
232232
run: python -c "import dpcpp_llvm_spirv as p; print(p.get_llvm_spirv_path())"
233233
- name: Run tests
234234
run: |
235-
python -m pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv
235+
pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv
236236
237237
upload_linux:
238238
needs: test_linux

0 commit comments

Comments
 (0)