Skip to content

Commit 39bb1cd

Browse files
Copilotbytemain
andauthored
Add uv-build CI version test
Agent-Logs-Url: https://github.com/version-fox/vfox-python/sessions/0041d396-c50d-4f53-ac3e-4d4d4b1b1e4e Co-authored-by: bytemain <13938334+bytemain@users.noreply.github.com>
1 parent fbff447 commit 39bb1cd

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
@@ -63,6 +63,27 @@ jobs:
6363
exit 1
6464
fi
6565
66+
- name: Install Python 3.10.20 with uv-build
67+
if: matrix.mirror == ''
68+
env:
69+
VFOX_PYTHON_USE_UV_BUILD: "1"
70+
run: |
71+
eval "$(vfox activate bash)"
72+
vfox install python@3.10.20
73+
vfox use -g python@3.10.20
74+
vfox current
75+
76+
- name: Check uv-build python 3.10.20
77+
if: matrix.mirror == ''
78+
run: |
79+
eval "$(vfox activate bash)"
80+
python_version=$(python -c 'import sys;print(sys.version, sys.path)')
81+
echo $python_version
82+
83+
if [[ ! $python_version == 3.10.20* ]]; then
84+
exit 1
85+
fi
86+
6687
test-on-windows:
6788
runs-on: ${{ matrix.os }}
6889
strategy:

0 commit comments

Comments
 (0)