Skip to content

Commit d57238c

Browse files
Copilotbytemain
andauthored
Add Windows uv-build CI test
Agent-Logs-Url: https://github.com/version-fox/vfox-python/sessions/1a350946-6b05-4fb6-895f-a0a098a9cba2 Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
1 parent 6527163 commit d57238c

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

.github/workflows/vfox-test.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -139,3 +139,24 @@ jobs:
139139
if ($python_version -notlike "${{ matrix.python-version }}*") {
140140
exit 1
141141
}
142+
143+
- name: Install Python 3.10.20 with uv-build
144+
if: runner.os == 'Windows' && matrix.mirror == ''
145+
env:
146+
VFOX_PYTHON_USE_UV_BUILD: "1"
147+
run: |
148+
Invoke-Expression "$(vfox activate pwsh)"
149+
vfox install python@3.10.20
150+
vfox use -g python@3.10.20
151+
vfox current
152+
153+
- name: Check uv-build python 3.10.20
154+
if: runner.os == 'Windows' && matrix.mirror == ''
155+
run: |
156+
Invoke-Expression "$(vfox activate pwsh)"
157+
$python_version = $(python -c 'import sys;print(sys.version)')
158+
Write-Output $python_version
159+
160+
if ($python_version -notlike "3.10.20*") {
161+
exit 1
162+
}

0 commit comments

Comments
 (0)