Skip to content

Commit

Permalink
Fixup pytest tmp dir and re-locate nce.
Browse files Browse the repository at this point in the history
This should avoid Windows long path issues and comports with our self
hosted runner TMP dir setup.
  • Loading branch information
jsirois committed Sep 7, 2024
1 parent 351ff9d commit 6763fa1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ jobs:
- name: Configure Windows pytest short tmp dir path
if: matrix.os == 'windows-2022' || matrix.os == 'windows-arm64'
run: |
echo PYTEST_ADDOPTS="--basetemp C:\\tmp\\pytest" >> ${GITHUB_ENV}
echo PYTEST_ADDOPTS="--basetemp C:/tmp/gha/pytest" >> ${GITHUB_ENV}
echo SCIE_BASE=C:/tmp/gha/nce >> ${GITHUB_ENV}
- name: Unit Tests
run: nox -e test -- -vvs
- name: Build & Package
Expand Down

0 comments on commit 6763fa1

Please sign in to comment.