Skip to content

Commit

Permalink
Use D drive for pytest on Windows to speed up test runs
Browse files Browse the repository at this point in the history
h/t to @ichard26 in this pip PR: pypa/pip#13129
  • Loading branch information
emmatyping committed Dec 26, 2024
1 parent aa0b6f0 commit ca76d9b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,12 @@ jobs:
PYTEST_ADDOPTS: --color=yes

steps:

- name: Set TEMP to D:\ on Windows pytest runs
if: ${{startsWith(matrix.os, 'windows-') && startsWith(matrix.toxenv, 'py')}}
run: |
mkdir "D:\\Temp"
echo "TEMP=D:\\Temp" >> $env:GITHUB_ENV
- uses: actions/checkout@v4

- name: Debug build
Expand Down

0 comments on commit ca76d9b

Please sign in to comment.