Ensure Windows CI uses D: drive #518
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
What is this PR
Why is this PR needed?
This PR addresses Issue #499 ("Use
D:
drive for Windows CI") in themovement
repository. The goal is to ensure that the Windows CI environment consistently uses theD:
drive, which is the default in GitHub Actions and offers better I/O performance compared toC:
. This consistency prevents potential drive-related failures and optimizes CI runtime.What does this PR do?
Adds a new step "Ensure D: Drive on Windows" to
.github/workflows/test_and_deploy.yml
under thetest
job. The step:D:
drive using%CD%
.D:
and sets the working directory to%GITHUB_WORKSPACE%
(the repository root).-Stops the job with an error if switching to D: fails, making it more reliable.
References
D:
drive for Windows CI #499: neuroinformatics-unit/movement#499How has this PR been tested?
test
job onwindows-latest
. Logs in "Checks" tab will show:D:
works, stops with an error if it doesn’t.Checklist: