File tree Expand file tree Collapse file tree 2 files changed +31
-23
lines changed Expand file tree Collapse file tree 2 files changed +31
-23
lines changed Original file line number Diff line number Diff line change
1
+ name : CodSpeed
2
+
3
+ on :
4
+ push :
5
+ branches :
6
+ - " main" # or "master"
7
+ pull_request :
8
+ workflow_dispatch :
9
+
10
+ jobs :
11
+ benchmarks :
12
+ name : 📈 Benchmarks
13
+ runs-on : ubuntu-latest
14
+ steps :
15
+ - uses : actions/checkout@v4
16
+ - uses : actions/setup-python@v5
17
+ id : setup-python
18
+ with :
19
+ python-version : " 3.12"
20
+ architecture : x64
21
+
22
+ - run : pipx install poetry
23
+
24
+ - run : poetry env use 3.12
25
+ - run : poetry install --with test
26
+
27
+ - name : Run benchmarks
28
+ uses : CodSpeedHQ/action@v3
29
+ with :
30
+ token : ${{ secrets.CODSPEED_TOKEN }}
31
+ run : poetry run pytest tests --benchmark-enable --codspeed
Original file line number Diff line number Diff line change @@ -3,29 +3,6 @@ name: Tests
3
3
on : [push, pull_request]
4
4
5
5
jobs :
6
-
7
- benchmarks :
8
- name : 📈 Benchmarks
9
- runs-on : ubuntu-latest
10
-
11
- steps :
12
- - uses : actions/checkout@v4
13
- - run : pipx install poetry
14
- - uses : actions/setup-python@v5
15
- id : setup-python
16
- with :
17
- python-version : " 3.12"
18
- architecture : x64
19
-
20
- - run : poetry env use 3.12
21
- - run : poetry install --with test
22
-
23
- - name : Run benchmarks
24
- uses : CodSpeedHQ/action@v3
25
- with :
26
- token : ${{ secrets.CODSPEED_TOKEN }}
27
- run : poetry run pytest tests --benchmark-enable --codspeed
28
-
29
6
tests :
30
7
runs-on : ubuntu-latest
31
8
You can’t perform that action at this time.
0 commit comments