We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a25b40b commit 0d573daCopy full SHA for 0d573da
.github/workflows/benchmarks.yml
@@ -0,0 +1,31 @@
1
+name: CodSpeed
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "main"
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
30
+ token: ${{ secrets.CODSPEED_TOKEN }}
31
+ run: poetry run pytest tests --benchmark-enable --codspeed
0 commit comments