Skip to content

Commit 42df655

Browse files
Attempt to triage py38
1 parent e838d95 commit 42df655

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -206,7 +206,7 @@ jobs:
206206
conda index ${{ env.workdir }}/channel
207207
# Test channel
208208
conda search ${{ env.PACKAGE_NAME }} -c ${{ env.workdir }}/channel --override-channels --info --json > ${{ env.workdir }}\ver.json
209-
more ${{ env.workdir }}\ver.json
209+
type ${{ env.workdir }}\ver.json
210210
- name: Collect dependencies
211211
shell: cmd /C CALL {0}
212212
run: |
@@ -219,7 +219,7 @@ jobs:
219219
SET PACKAGE_VERSION=%%F
220220
)
221221
conda install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
222-
more lockfile
222+
type lockfile
223223
- name: Cache conda packages
224224
uses: actions/cache@v3
225225
env:
@@ -243,7 +243,8 @@ jobs:
243243
SET PACKAGE_VERSION=%%F
244244
)
245245
conda install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% pytest python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }}
246-
REM Test installed packages
246+
echo %CONDA%
247+
C:\Miniconda\condabin\conda.bat activate
247248
conda list
248249
- name: Add library
249250
shell: pwsh
@@ -281,13 +282,15 @@ jobs:
281282
- name: Smoke test
282283
shell: cmd /C CALL {0}
283284
run: |
285+
C:\Miniconda\condabin\conda.bat activate
284286
set SYCL_ENABLE_HOST_DEVICE=1
285287
python -c "import dpctl; dpctl.lsplatform()"
286288
python -c "import dpctl; print(dpctl.get_devices(backend='opencl', device_type='gpu'))"
287289
python -c "import dpctl; print(dpctl.get_num_devices(backend='opencl', device_type='gpu'))"
288290
- name: Run tests
289291
shell: cmd /C CALL {0}
290292
run: |
293+
C:\Miniconda\condabin\conda.bat activate
291294
set SYCL_ENABLE_HOST_DEVICE=1
292295
python -m pytest -p no:faulthandler --pyargs ${{ env.MODULE_NAME }}
293296

0 commit comments

Comments
 (0)