Skip to content

Commit

Permalink
Start using uv instead of pip during testing
Browse files Browse the repository at this point in the history
  • Loading branch information
ssbarnea committed Oct 16, 2024
1 parent 271524a commit c92ff17
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,14 @@ jobs:

- name: Install tox
run: |
python3 -m pip install --upgrade pip
python3 -m pip install --upgrade "tox>=4.0.0"
echo ~/bin >> $GITHUB_PATH
python3 -m pip install --upgrade pip uv
uv tool update-shell
uv tool install "tox>=4.21.2" --with "tox-uv>=1.15.0"
tox --version
- name: Log installed dists
run: python3 -m pip freeze --all
run: python3 -m uv pip freeze

- run: ${{ matrix.command }}

Expand Down
3 changes: 2 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ envlist =
ubi9
isolated_build = True
requires =
tox>=4.0.12
tox>=4.21.2
tox-uv>=1.15.0

[testenv]
commands =
Expand Down

0 comments on commit c92ff17

Please sign in to comment.