From 4ff328cbb098d16e788889527853156a54ca179a Mon Sep 17 00:00:00 2001 From: Wes Bonelli Date: Wed, 26 Jul 2023 22:24:16 -0400 Subject: [PATCH] use runner.temp for pytest base tempdir (avoid drive issues on Windows) --- .github/workflows/main.yml | 2 +- .github/workflows/pymake-gcc.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index e86c5c30..2b0e2c79 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -71,7 +71,7 @@ jobs: working-directory: ./autotest shell: cmd run: | - pytest -v -m="base" --durations=0 --cov=pymake --cov-report=xml + pytest -v -m="base" --durations=0 --cov=pymake --cov-report=xml --basetemp=${{ runner.temp }} - name: Print coverage report before upload working-directory: ./autotest diff --git a/.github/workflows/pymake-gcc.yml b/.github/workflows/pymake-gcc.yml index 623ddad3..c5327a34 100644 --- a/.github/workflows/pymake-gcc.yml +++ b/.github/workflows/pymake-gcc.yml @@ -52,7 +52,7 @@ jobs: - name: Run pytest working-directory: ./autotest run: | - pytest -v --dist=loadfile -n=auto -m="base or regression" --durations=0 --cov=pymake --cov-report=xml + pytest -v --dist=loadfile -n=auto -m="base or regression" --durations=0 --cov=pymake --cov-report=xml --basetemp=${{ runner.temp }} - name: Print coverage report before upload working-directory: ./autotest