Skip to content

Commit 9e596be

Browse files
committed
Ensure Windows CI uses D: drive for #499
1 parent e199c86 commit 9e596be

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

.github/workflows/test_and_deploy.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,19 @@ jobs:
5656
auto-update-conda: true
5757
channels: conda-forge,defaults
5858
activate-environment: movement-env
59+
- name: "Ensure D: Drive on Windows"
60+
if: matrix.os == 'windows-latest'
61+
run: |
62+
echo Current directory: %CD%
63+
if not "%CD:~0,2%"=="D:" (
64+
echo Switching to D: drive
65+
D:
66+
cd D:\test_dir
67+
mkdir D:\test_dir 2>nul
68+
echo Now on: %CD%
69+
) else (
70+
echo Already on D: drive
71+
)
5972
- uses: neuroinformatics-unit/actions/test@v2
6073
with:
6174
python-version: ${{ matrix.python-version }}

0 commit comments

Comments
 (0)