Skip to content

Commit

Permalink
Update benchmark.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
lukeshingles committed Jan 12, 2025
1 parent 67ca855 commit ec6651d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,15 @@ jobs:
codspeed-rust-target-313-${{ runner.os }}-${{ hashFiles('**/Cargo.lock') }}-
codspeed-rust-target-313-${{ runner.os }}-
- name: Install the latest version of uv
uses: astral-sh/setup-uv@v5

- name: Install artistools
run: |
python3 -m pip install uv
python3 -m uv pip install --compile-bytecode --editable .[dev]
uv sync --frozen
source .venv/bin/activate
uv pip install --compile-bytecode --editable .[dev]
- name: Cache test data
uses: actions/cache@v4
Expand All @@ -55,4 +60,4 @@ jobs:
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest --codspeed
run: uv run pytest --codspeed

0 comments on commit ec6651d

Please sign in to comment.