Skip to content

Commit 93c2c9d

Browse files
committed
try install python on codspeed runs
1 parent a0e4a1d commit 93c2c9d

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

.github/workflows/codspeed.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ on:
1212
env:
1313
UV_FROZEN: true
1414
UV_PYTHON: 3.13
15-
CODSPEED_LOG: debug
16-
RUST_LOG: debug
1715

1816
jobs:
1917
benchmarks:
@@ -22,6 +20,11 @@ jobs:
2220
steps:
2321
- uses: actions/checkout@v4
2422

23+
# Using this action is still necessary for CodSpeed to work:
24+
- uses: actions/setup-python@v5
25+
with:
26+
python-version: ${{ env.UV_PYTHON}}
27+
2528
- name: install uv
2629
uses: astral-sh/setup-uv@v3
2730
with:
@@ -63,6 +66,4 @@ jobs:
6366
- name: Run CodSpeed benchmarks
6467
uses: CodSpeedHQ/action@v3
6568
with:
66-
run: |
67-
ls -l .venv/lib
68-
uv --verbose run pytest tests/benchmarks/ --codspeed
69+
run: uv run pytest tests/benchmarks/ --codspeed

0 commit comments

Comments
 (0)