test: temp on D: #9
Workflow file for this run
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Test Windows Temp Dir | |
| on: | |
| push: | |
| branches: [ mainline ] | |
| pull_request: | |
| branches: [ mainline ] | |
| workflow_dispatch: | |
| jobs: | |
| Python: | |
| name: windows-latest, python ${{ matrix.python-version }} | |
| runs-on: windows-latest | |
| permissions: | |
| contents: read | |
| env: | |
| PYTHON: ${{ matrix.python-version }} | |
| TEMP: D:\Temp | |
| TMP: D:\Temp | |
| HATCH_ENV_DIR: D:\Temp\HatchEnvs | |
| HATCH_CACHE_DIR: D:\Temp\HatchCache | |
| UV_CACHE_DIR: D:\Temp\uv-cache | |
| HATCH_ENV_INSTALLER: uv | |
| strategy: | |
| matrix: | |
| python-version: ['3.11', '3.12', '3.13', '3.14'] | |
| steps: | |
| - name: Prepare temp dir | |
| run: mkdir -p D:\Temp | |
| shell: cmd | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Set up uv | |
| uses: astral-sh/setup-uv@v4 | |
| with: | |
| enable-pip: true | |
| - name: Install Hatch | |
| run: uv pip install --system hatch | |
| - name: Run Linting | |
| run: hatch -v run lint | |
| - name: Run Build | |
| run: hatch -v build | |
| - name: Run Tests | |
| run: hatch run test |