Skip to content

Commit

Permalink
Use uv to install Python
Browse files Browse the repository at this point in the history
  • Loading branch information
kdeldycke committed Sep 28, 2024
1 parent a0e1dd2 commit d6e3da3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -107,16 +107,12 @@ jobs:
continue-on-error: ${{ matrix.state == 'unstable' }}
steps:
- uses: actions/checkout@v4.2.0
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5.2.0
with:
python-version: ${{ matrix.python-version }}
- name: Install uv
run: |
python -m pip install -r https://raw.githubusercontent.com/kdeldycke/workflows/main/requirements/uv.txt
- name: Install project
run: |
uv --no-progress venv
uv --no-progress venv --python ${{ matrix.python-version }}
uv --no-progress sync --extra test
# CLI tests.
Expand Down
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@
> [!IMPORTANT]
> This version is not released yet and is under active development.
- Use `uv` instead of GitHub action to install a specific version of Python.

## [4.6.1 (2024-09-26)](https://github.com/kdeldycke/workflows/compare/v4.6.0...v4.6.1)

- Use `uv` to publish Python packages.
Expand Down

0 comments on commit d6e3da3

Please sign in to comment.