File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -24,10 +24,14 @@ jobs:
24
24
sessions : ${{ steps.set-matrix.outputs.sessions }}
25
25
steps :
26
26
- uses : actions/checkout@v4
27
- - run : pip install poetry nox nox-poetry
27
+ - name : Install uv
28
+ uses : astral-sh/setup-uv@v3
29
+ - run : uv venv
30
+ - run : uv pip install poetry nox nox-poetry
28
31
- id : set-matrix
29
32
shell : bash
30
33
run : |
34
+ . .venv/bin/activate
31
35
echo sessions=$(
32
36
nox --json -t tests -l |
33
37
jq 'map(
82
86
83
87
benchmarks :
84
88
name : 📈 Benchmarks
85
- runs-on : ubuntu-latest
89
+
90
+ # Using this version because CodSpeed doesn't support Ubuntu 24.04 LTS yet
91
+ runs-on : ubuntu-22.04
86
92
87
93
steps :
88
94
- uses : actions/checkout@v4
99
105
if : steps.setup-python.outputs.cache-hit != 'true'
100
106
101
107
- name : Run benchmarks
102
- uses : CodSpeedHQ/action@v2
108
+ uses : CodSpeedHQ/action@v3
103
109
with :
104
110
token : ${{ secrets.CODSPEED_TOKEN }}
105
111
run : poetry run pytest tests/benchmarks --codspeed
You can’t perform that action at this time.
0 commit comments