Skip to content

Commit

Permalink
fix: install deps in a separate step
Browse files Browse the repository at this point in the history
  • Loading branch information
art049 committed Oct 30, 2024
1 parent 21d1f09 commit 49aa32d
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/codspeed.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,21 @@ jobs:
include:
- { python-version: "3.13t", gil: "1" }
- { python-version: "3.13t", gil: "0" }
env:
UV_PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v3
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
run: uv python install

- name: Install dependencies
run: uv sync --all-extras

- uses: CodSpeedHQ/action@v3
env:
PYTHON_GIL: ${{ matrix.gil || '' }}
with:
runner-version: 3.1.0-beta.2
run: uv run -p ${{ matrix.python-version }} pytest --codspeed --codspeed-max-time 10 -vs tests.py
run: uv run pytest --codspeed --codspeed-max-time 10 -vs tests.py

0 comments on commit 49aa32d

Please sign in to comment.