File tree Expand file tree Collapse file tree 2 files changed +26
-4
lines changed
src/pytest_codspeed/instruments/valgrind/_wrapper Expand file tree Collapse file tree 2 files changed +26
-4
lines changed Original file line number Diff line number Diff line change 7
7
workflow_dispatch :
8
8
9
9
jobs :
10
+ build :
11
+ name : Build wheel
12
+ runs-on : ubuntu-24.04
13
+ steps :
14
+ - uses : actions/checkout@v4
15
+ - uses : astral-sh/setup-uv@v4
16
+ - uses : actions/setup-python@v5
17
+ with :
18
+ python-version : " 3.12"
19
+ - name : Install valgrind
20
+ run : sudo apt-get install valgrind -y
21
+ - name : Build the wheel
22
+ run : uv build --wheel --out-dir dist/
23
+ - uses : actions/upload-artifact@v4
24
+ with :
25
+ name : wheel
26
+ path : dist/*.whl
27
+
10
28
benchmarks :
11
29
name : Run benchmarks
30
+ needs : build
12
31
runs-on : ubuntu-24.04
13
32
steps :
14
33
- uses : actions/checkout@v4
15
34
with :
16
35
submodules : " recursive"
17
- - name : Set up Python 3.12
18
- uses : actions/setup-python@v2
36
+ - uses : actions/setup-python@v2
19
37
with :
20
38
python-version : " 3.12"
39
+ - uses : actions/download-artifact@v4
40
+ with :
41
+ name : wheel
42
+ path : dist
21
43
- name : Install local version of pytest-codspeed
22
- run : pip install .
44
+ run : pip install dist/*.whl
23
45
- name : Run benchmarks
24
46
uses : CodSpeedHQ/action@main
25
47
with :
Original file line number Diff line number Diff line change @@ -12,4 +12,4 @@ def get_lib() -> LibType:
12
12
13
13
return lib
14
14
except Exception as e :
15
- raise Exception ("Failed to compile the wrapper" ) from e
15
+ raise Exception ("Failed to get a compiled wrapper" ) from e
You can’t perform that action at this time.
0 commit comments