mirror of
https://github.com/astral-sh/setup-uv.git
synced 2025-07-27 08:11:52 +00:00
UV_PYTHON_DOWNLOADS, UV_SYSTEM_PYTHON, setup-python
This commit is contained in:
7
.github/workflows/test.yml
vendored
7
.github/workflows/test.yml
vendored
@ -282,6 +282,10 @@ jobs:
|
|||||||
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
os: [ ubuntu-latest, macos-latest, windows-latest ]
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set up Python
|
||||||
|
uses: actions/setup-python@v5
|
||||||
|
with:
|
||||||
|
python-version-file: __tests__/fixtures/uv-project/pyproject.toml
|
||||||
- name: Install latest version
|
- name: Install latest version
|
||||||
uses: ./
|
uses: ./
|
||||||
with:
|
with:
|
||||||
@ -291,6 +295,9 @@ jobs:
|
|||||||
working-directory: __tests__/fixtures/uv-project
|
working-directory: __tests__/fixtures/uv-project
|
||||||
run: uv sync
|
run: uv sync
|
||||||
shell: bash
|
shell: bash
|
||||||
|
env:
|
||||||
|
UV_PYTHON_DOWNLOADS: "never"
|
||||||
|
UV_SYSTEM_PYTHON: 1
|
||||||
- name: Verify bin files available
|
- name: Verify bin files available
|
||||||
working-directory: __tests__/fixtures/uv-project
|
working-directory: __tests__/fixtures/uv-project
|
||||||
run: ruff --version
|
run: ruff --version
|
||||||
|
Reference in New Issue
Block a user