mirror of
https://github.com/astral-sh/uv
synced 2026-01-21 21:40:11 -05:00
Move Windows registry test from test-system to test-integration (#17432)
The Windows registry test (PEP 514 integration) tests Python installation registration functionality rather than system Python detection like the other tests in test-system, so it fits better in test-integration. Co-authored-by: Claude <noreply@anthropic.com>
This commit is contained in:
18
.github/workflows/test-integration.yml
vendored
18
.github/workflows/test-integration.yml
vendored
@@ -297,6 +297,24 @@ jobs:
|
||||
run: |
|
||||
./uv run -p $env:LOCALAPPDATA\Python\pythoncore-3.14-64\python.exe --with numpy python -c "import sys; print(sys.executable)"
|
||||
|
||||
# Test PEP 514 integration that installs Python into the Windows registry.
|
||||
integration-test-windows-registry:
|
||||
name: "windows registry"
|
||||
timeout-minutes: 10
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Download binary"
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: uv-windows-x86_64-${{ inputs.sha }}
|
||||
|
||||
- name: "Test PEP 514 registration"
|
||||
run: python ./scripts/check_registry.py --uv ./uv.exe
|
||||
|
||||
integration-test-pypy-linux:
|
||||
name: "pypy on linux"
|
||||
timeout-minutes: 10
|
||||
|
||||
19
.github/workflows/test-system.yml
vendored
19
.github/workflows/test-system.yml
vendored
@@ -519,25 +519,6 @@ jobs:
|
||||
- name: "Validate global Python install"
|
||||
run: py -3.13-arm64 ./scripts/check_system_python.py --uv ./uv.exe
|
||||
|
||||
# Test our PEP 514 integration that installs Python into the Windows registry.
|
||||
system-test-windows-registry:
|
||||
timeout-minutes: 10
|
||||
name: "windows registry"
|
||||
runs-on: windows-latest
|
||||
steps:
|
||||
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
||||
with:
|
||||
persist-credentials: false
|
||||
|
||||
- name: "Download binary"
|
||||
uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4.3.0
|
||||
with:
|
||||
name: uv-windows-x86_64-${{ inputs.sha }}
|
||||
|
||||
# NB: Run this last, we are modifying the registry
|
||||
- name: "Test PEP 514 registration"
|
||||
run: python ./scripts/check_registry.py --uv ./uv.exe
|
||||
|
||||
system-test-choco:
|
||||
timeout-minutes: 10
|
||||
name: "python3.9 via chocolatey"
|
||||
|
||||
Reference in New Issue
Block a user