Skip to content

Commit 00a67f6

Browse files
committed
Add conda-tree info to github workflow
1 parent eb72419 commit 00a67f6

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ env:
1818
VER_JSON_NAME: 'version.json'
1919
VER_SCRIPT1: "import json; f = open('version.json', 'r'); j = json.load(f); f.close(); "
2020
VER_SCRIPT2: "d = j['numba-dpex'][0]; print('='.join((d[s] for s in ('version', 'build'))))"
21+
PYTHONIOENCODING: 'utf-8'
2122

2223
jobs:
2324
build:
@@ -172,7 +173,7 @@ jobs:
172173
# We want to make sure that all dependecies install automatically.
173174
# intel::intel-opencl-rt is needed for set-intel-ocl-icd-registry.ps1
174175
- name: Install builded package
175-
run: mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} intel::intel-opencl-rt pytest-cov -c ${{ env.CHANNEL_PATH }}
176+
run: mamba install ${{ env.PACKAGE_NAME }}=${{ env.PACKAGE_VERSION }} intel::intel-opencl-rt pytest-cov conda-tree -c ${{ env.CHANNEL_PATH }}
176177

177178
- name: Install numba-mlir
178179
if: matrix.use_mlir
@@ -199,6 +200,9 @@ jobs:
199200
run: |
200201
python -c "import dpcpp_llvm_spirv as p; print(p.get_llvm_spirv_path())"
201202
203+
- name: Check dependency tree
204+
run: conda-tree depends -t numba-dpex
205+
202206
- name: Smoke test
203207
env:
204208
NUMBA_DPEX_USE_MLIR: ${{ matrix.use_mlir && '1' || '0' }}

0 commit comments

Comments
 (0)