Skip to content

Commit

Permalink
ci: use uv everywhere
Browse files Browse the repository at this point in the history
  • Loading branch information
helgee committed Dec 19, 2024
1 parent 0512749 commit cf6a4c4
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,8 @@ jobs:
target: x86
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
Expand All @@ -112,8 +114,8 @@ jobs:
set -e
python3 -m venv .venv
source .venv/Scripts/activate
pip install lox-space --find-links dist --force-reinstall
pip install pytest pytest-codspeed
uv pip install lox-space --find-links dist --force-reinstall
uv pip install pytest pytest-codspeed
cd crates/lox-space && pytest
macos:
Expand All @@ -127,6 +129,8 @@ jobs:
target: aarch64
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
- uses: actions/setup-python@v5
with:
python-version: 3.x
Expand All @@ -146,8 +150,8 @@ jobs:
set -e
python3 -m venv .venv
source .venv/bin/activate
pip install lox-space --find-links dist --force-reinstall
pip install pytest pytest-codspeed
uv pip install lox-space --find-links dist --force-reinstall
uv pip install pytest pytest-codspeed
cd crates/lox-space && pytest
sdist:
Expand Down

0 comments on commit cf6a4c4

Please sign in to comment.