mirror of
https://github.com/astral-sh/uv.git
synced 2025-10-03 07:14:35 +00:00
Fix GitHub Actions integration test (#8013)
Fixes bug noted in https://github.com/astral-sh/uv/pull/8012 GitHub upgraded the 3.12 Python version so the path changed!
This commit is contained in:
parent
f6fd849f2c
commit
cd582cacab
1 changed files with 3 additions and 3 deletions
6
.github/workflows/ci.yml
vendored
6
.github/workflows/ci.yml
vendored
|
@ -914,7 +914,7 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-python@v5
|
- uses: actions/setup-python@v5
|
||||||
with:
|
with:
|
||||||
python-version: "3.12"
|
python-version: "3.12.7"
|
||||||
|
|
||||||
- name: "Download binary"
|
- name: "Download binary"
|
||||||
uses: actions/download-artifact@v4
|
uses: actions/download-artifact@v4
|
||||||
|
@ -948,13 +948,13 @@ jobs:
|
||||||
- name: "Sync to the system Python"
|
- name: "Sync to the system Python"
|
||||||
run: ./uv sync -v --python 3.12
|
run: ./uv sync -v --python 3.12
|
||||||
env:
|
env:
|
||||||
UV_PROJECT_ENVIRONMENT: "/opt/hostedtoolcache/Python/3.12.6/x64"
|
UV_PROJECT_ENVIRONMENT: "/opt/hostedtoolcache/Python/3.12.7/x64"
|
||||||
|
|
||||||
- name: "Attempt to sync to the system Python with an incompatible version"
|
- name: "Attempt to sync to the system Python with an incompatible version"
|
||||||
run: |
|
run: |
|
||||||
./uv sync -v --python 3.11 && { echo "ci: Error; should not succeed"; exit 1; } || { echo "ci: Ok; expected failure"; exit 0; }
|
./uv sync -v --python 3.11 && { echo "ci: Error; should not succeed"; exit 1; } || { echo "ci: Ok; expected failure"; exit 0; }
|
||||||
env:
|
env:
|
||||||
UV_PROJECT_ENVIRONMENT: "/opt/hostedtoolcache/Python/3.12.6/x64"
|
UV_PROJECT_ENVIRONMENT: "/opt/hostedtoolcache/Python/3.12.7/x64"
|
||||||
|
|
||||||
- name: "Attempt to sync to a non-Python environment directory"
|
- name: "Attempt to sync to a non-Python environment directory"
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue