Skip to content

Commit

Permalink
Directly invoke pytest in package build workflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
Diptorup Deb committed May 10, 2023
1 parent 6786308 commit 1053c94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/conda-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ jobs:
source $CONDA/etc/profile.d/conda.sh
conda activate numba_dpex_env
# echo "libintelocl.so" | tee /etc/OpenCL/vendors/intel-cpu.icd
python -m pytest -q -ra --disable-warnings --pyargs $MODULE_NAME -vv
pytest -q -ra --disable-warnings --pyargs $MODULE_NAME -vv
- name: Run examples
run: |
ls
Expand Down Expand Up @@ -209,7 +209,7 @@ jobs:
${{ runner.os }}-conda-${{ env.CACHE_NUMBER }}-
- name: Install numba-dpex
run: |
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 }}
conda install ${{ env.PACKAGE_NAME }} pytest dpcpp_win-64 dpcpp-llvm-spirv python=${{ matrix.python }} dpctl -c $env:GITHUB_WORKSPACE/channel ${{ env.CHANNELS }}
# Test installed packages
conda list
- name: Install opencl_rt
Expand All @@ -232,7 +232,7 @@ jobs:
run: python -c "import dpcpp_llvm_spirv as p; print(p.get_llvm_spirv_path())"
- name: Run tests
run: |
python -m pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv
pytest -q -ra --disable-warnings --pyargs ${{ env.MODULE_NAME }} -vv
upload_linux:
needs: test_linux
Expand Down

0 comments on commit 1053c94

Please sign in to comment.