Skip to content

Commit 653130a

Browse files
authored
MAINT: Fix macOS CIs (#13527)
1 parent 12694e6 commit 653130a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

tools/github_actions_env_vars.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ else # conda-like
2929
echo "MNE_QT_BACKEND=PySide6" | tee -a $GITHUB_ENV
3030
# TODO: Also need "|unreliable on GitHub Actions conda" on macOS, but omit for now to make sure the failure actually shows up
3131
echo "MNE_TEST_ALLOW_SKIP=.*(Requires (spm|brainstorm) dataset|CUDA not|PySide6 causes segfaults|Accelerate|Flakey verbose behavior).*" | tee -a $GITHUB_ENV
32+
# Our cache_dir test has problems when the path is too long, so prevent it from getting too long
33+
if [[ "$RUNNER_OS" == "macOS" ]]; then
34+
echo "PYTEST_DEBUG_TEMPROOT=/tmp" | tee -a $GITHUB_ENV
35+
fi
3236
fi
3337
fi
3438
set +x

0 commit comments

Comments
 (0)