Skip to content

Commit 842cb42

Browse files
committed
test: temp on D:
Signed-off-by: Morgan Epp <60796713+epmog@users.noreply.github.com>
1 parent 3fb783d commit 842cb42

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: Test Windows Temp Dir
2+
3+
on:
4+
push:
5+
branches: [ mainline ]
6+
pull_request:
7+
branches: [ mainline ]
8+
workflow_dispatch:
9+
10+
jobs:
11+
Python:
12+
name: windows-latest, python ${{ matrix.python-version }}
13+
runs-on: windows-latest
14+
permissions:
15+
contents: read
16+
env:
17+
PYTHON: ${{ matrix.python-version }}
18+
TEMP: D:\Temp
19+
TMP: D:\Temp
20+
HATCH_ENV_DIR: D:\Temp\HatchEnvs
21+
HATCH_CACHE_DIR: D:\Temp\HatchCache
22+
UV_CACHE_DIR: D:\Temp\uv-cache
23+
HATCH_ENV_INSTALLER: uv
24+
strategy:
25+
matrix:
26+
python-version: ['3.11', '3.12', '3.13', '3.14']
27+
steps:
28+
- name: Prepare temp dir
29+
run: mkdir -p D:\Temp
30+
shell: cmd
31+
32+
- uses: actions/checkout@v4
33+
34+
- name: Set up Python ${{ matrix.python-version }}
35+
uses: actions/setup-python@v5
36+
with:
37+
python-version: ${{ matrix.python-version }}
38+
39+
- name: Set up uv
40+
uses: astral-sh/setup-uv@v4
41+
with:
42+
enable-pip: true
43+
44+
- name: Install Hatch
45+
run: pip install --upgrade hatch
46+
47+
- name: Run Linting
48+
run: hatch -v run lint
49+
50+
- name: Run Build
51+
run: hatch -v build
52+
53+
- name: Run Tests
54+
run: hatch run test

0 commit comments

Comments
 (0)