We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 84d8312 commit 178c400Copy full SHA for 178c400
.github/workflows/codspeed.yml
@@ -0,0 +1,34 @@
1
+name: CodSpeed Benchmarks
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - "main"
7
+ pull_request:
8
+ workflow_dispatch:
9
10
+jobs:
11
+ benchmarks:
12
+ name: Run benchmarks
13
+ runs-on: ubuntu-latest
14
+ steps:
15
+ - name: Checkout Code
16
+ uses: actions/checkout@v5
17
18
+ - name: Install uv
19
+ uses: astral-sh/setup-uv@v6
20
21
+ - name: Set up Python
22
+ uses: actions/setup-python@v6
23
+ with:
24
+ python-version: 3.13
25
26
+ - name: Install the project
27
+ run: uv sync --all-extras --dev
28
29
+ - name: Run the benchmarks
30
+ uses: CodSpeedHQ/action@v4
31
32
+ mode: instrumentation
33
+ run: uv run pytest tests/ --codspeed
34
+ token: ${{ secrets.CODSPEED_TOKEN }}
0 commit comments