Skip to content

Commit

Permalink
Fix GitHub Actions integration test (#8013)
Browse files Browse the repository at this point in the history
Fixes bug noted in #8012

GitHub upgraded the 3.12 Python version so the path changed!
  • Loading branch information
zanieb authored Oct 8, 2024
1 parent f6fd849 commit cd582ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -914,7 +914,7 @@ jobs:
steps:
- uses: actions/setup-python@v5
with:
python-version: "3.12"
python-version: "3.12.7"

- name: "Download binary"
uses: actions/download-artifact@v4
Expand Down Expand Up @@ -948,13 +948,13 @@ jobs:
- name: "Sync to the system Python"
run: ./uv sync -v --python 3.12
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"
run: |
./uv sync -v --python 3.11 && { echo "ci: Error; should not succeed"; exit 1; } || { echo "ci: Ok; expected failure"; exit 0; }
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"
run: |
Expand Down

0 comments on commit cd582ca

Please sign in to comment.