5
0
mirror of https://github.com/astral-sh/setup-uv.git synced 2025-12-15 11:07:14 +00:00

Compare commits

...

2 Commits

Author SHA1 Message Date
Kevin Stillhammer
185459b7f8 UV_PYTHON_DOWNLOADS, UV_SYSTEM_PYTHON, setup-python 2025-07-17 13:21:46 +02:00
Kevin Stillhammer
221dfb4c5a Add test-activate-environment-bin 2025-07-17 13:10:09 +02:00

View File

@@ -275,6 +275,34 @@ jobs:
fi
shell: bash
test-activate-environment-bin:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ ubuntu-latest, macos-latest, windows-latest ]
steps:
- 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
uses: ./
with:
activate-environment: true
working-directory: __tests__/fixtures/uv-project
- name: uv sync
working-directory: __tests__/fixtures/uv-project
run: uv sync
shell: bash
env:
UV_PYTHON_DOWNLOADS: "never"
UV_SYSTEM_PYTHON: 1
- name: Verify bin files available
working-directory: __tests__/fixtures/uv-project
run: ruff --version
shell: bash
test-musl:
runs-on: ubuntu-latest
container: alpine