Commit 5708a87
committed
CI: add windows-latest job, matching the claimed Windows classifier
pyproject.toml classifies Operating System :: Microsoft :: Windows, but
testing.yaml's matrix only ran ubuntu-latest, and the one test that behaves
differently on Windows (test_autoread_dotenv_unreadable_file_warns, which
relies on chmod-based permission denial) is skipif'd there - so that path
was never actually exercised on the one platform it differs most on.
Adds a single windows-latest job (Python 3.14) via matrix.include, rather
than crossing all 7 Python versions with it, to keep the added job count
small; it's free either way since this is a public repo (GitHub Actions
minutes are unlimited for public repos on every runner OS).
Two changes were needed to make the job actually work rather than just
exist:
- The ubuntu-remove-global-sitecustomize step is Linux-specific (sudo rm),
so it's now gated behind `if: runner.os == 'Linux'`.
- The job now forces `shell: bash` as the default, so the existing
${VAR}-style run steps use Windows' bundled Git Bash instead of falling
back to pwsh's incompatible variable syntax.
Verified: zizmor and the YAML parses cleanly; the justfile's install/build
recipes already have [unix]/[windows] variants for the OS-sensitive steps
(symlink creation, dir creation), so no changes were needed there.1 parent 58a92bd commit 5708a87
2 files changed
Lines changed: 28 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
| |||
68 | 74 | | |
69 | 75 | | |
70 | 76 | | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
71 | 84 | | |
72 | 85 | | |
73 | 86 | | |
| |||
114 | 127 | | |
115 | 128 | | |
116 | 129 | | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
117 | 136 | | |
118 | 137 | | |
119 | 138 | | |
120 | 139 | | |
121 | | - | |
122 | 140 | | |
123 | 141 | | |
124 | 142 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
7 | 16 | | |
8 | 17 | | |
9 | 18 | | |
| |||
0 commit comments