Skip to content

Commit cd61b0a

Browse files
Set shell in defaults.run for the test_windows workflow
1 parent 74741fb commit cd61b0a

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.github/workflows/conda-package.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,9 @@ jobs:
175175
test_windows:
176176
needs: build_windows
177177
runs-on: ${{ matrix.runner }}
178-
178+
defaults:
179+
run:
180+
shell: cmd /C CALL {0}
179181
strategy:
180182
matrix:
181183
python: ['3.8', '3.9', '3.10']
@@ -197,8 +199,7 @@ jobs:
197199
auto-update-conda: true
198200
conda-build-version: '*'
199201
miniconda-version: 'latest'
200-
auto-activate-base: true
201-
activate-environment: "dpctl_test"
202+
activate-environment: dpctl_test
202203
python-version: ${{ matrix.python }}
203204
- name: Create conda channel with the artifact bit
204205
shell: cmd /C CALL {0}
@@ -229,6 +230,7 @@ jobs:
229230
)
230231
conda install ${{ env.PACKAGE_NAME }}=%PACKAGE_VERSION% python=${{ matrix.python }} -c ${{ env.workdir }}/channel ${{ env.CHANNELS }} --only-deps --dry-run > lockfile
231232
- name: Display lockfile content
233+
shell: pwsh
232234
run: Get-Content -Path .\lockfile
233235
- name: Cache conda packages
234236
uses: actions/cache@v3

0 commit comments

Comments
 (0)