Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix cleaning up the test directory on windows CI #3297

Merged
merged 1 commit into from
Apr 18, 2024

Conversation

benjaminwinger
Copy link
Collaborator

@benjaminwinger benjaminwinger commented Apr 16, 2024

The windows and macos CI run multiple tests in different build directories as the same user. Since #3290 this means that the tests use the same temporary directory, and the cleanup_test may remove tests from other runs. This makes the test suite use the RUNNER_TEMP environment variable for the test directory if available.

@benjaminwinger benjaminwinger force-pushed the msvc-runner-temp-fix branch 7 times, most recently from 6752b62 to 778f5d7 Compare April 18, 2024 13:11
The windows and macos CI run multiple tests in different build directories as the same user.
Since #3290 this means that the tests use the same temporary directory, and the cleanup_test may remove tests from other runs.
This uses the RUNNER_TEMP environment variable to create job-specific test directories on the runner machines
@benjaminwinger benjaminwinger merged commit 4496f4b into master Apr 18, 2024
17 checks passed
@benjaminwinger benjaminwinger deleted the msvc-runner-temp-fix branch April 18, 2024 18:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants