Skip to content

Commit bfc1bc8

Browse files
committed
feat(cicd): codspeed benchmarks (aio-libs#688)
1 parent 5e9ca13 commit bfc1bc8

File tree

4 files changed

+8
-4
lines changed

4 files changed

+8
-4
lines changed

.github/workflows/codspeed.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,11 @@ on:
1717
- '[0-9].[0-9]+'
1818
- compile
1919
paths:
20-
- '**.py'
2120
- '.github/workflows/codspeed.yaml'
2221
- 'pyproject.toml'
2322
- 'setup.py'
2423
workflow_dispatch:
2524

26-
jobs:
27-
benchmark:
2825
name: Run CodSpeed Benchmarks (Python ${{ matrix.python-version }})
2926
runs-on: ubuntu-latest
3027
steps:

requirements-benchmarks.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
-e .
2+
-r requirements-test.txt
3+
4+
pytest-codspeed==4.0.0

requirements-test.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
pytest==8.4.2
2+
pytest-asyncio==1.2.0
3+
pytest-timeout==2.4.0

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
-e .
2+
-r requirements-test.txt
23

34
coverage==7.10.7
45
mypy-extensions==1.1.0
@@ -7,4 +8,3 @@ pytest-asyncio==1.2.0
78
pytest-benchmark
89
pytest-codspeed==4.0.0
910
pytest-cov==7.0.0
10-
pytest-timeout==2.4.0

0 commit comments

Comments
 (0)