From 0573b86e3afecd26c5651f6e268c2e53a1ebd152 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Fri, 15 Sep 2023 18:09:05 -0400 Subject: [PATCH] Run tests whenever TMPDIR points to some folder with spaces in the name --- .github/workflows/tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c769cc9c71..d327c017a0 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -80,7 +80,7 @@ jobs: - name: Install test extras run: pip install nipype[tests] - name: Run tests - run: pytest --doctest-modules -v --pyargs nipype + run: TMPDIR=$(mktemp -t -d 't m p.XXXXXXXXXX') pytest --doctest-modules -v --pyargs nipype stable: # Check each OS, all supported Python, minimum versions and latest releases