-
-
Notifications
You must be signed in to change notification settings - Fork 146
42 lines (35 loc) · 909 Bytes
/
benchmark.yml
File metadata and controls
42 lines (35 loc) · 909 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Performance
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
jobs:
benchmarks:
name: 📈 Benchmarks
runs-on: ubuntu-latest
steps:
- name: Checkout project
id: checkout
uses: actions/checkout@v6
- name: Set up Python 3.14
id: setup-python
uses: actions/setup-python@v6
with:
python-version: "3.14"
architecture: x64
- name: Install uv
id: setup-uv
uses: astral-sh/setup-uv@v7
- name: Install tox
id: install-tox
run: |
uv pip install --system tox tox-uv
- name: Run benchmarks with CodSpeed
id: run-benchmarks
uses: CodSpeedHQ/action@v4
with:
mode: instrumentation
token: ${{ secrets.CODSPEED_TOKEN }}
run: tox -e py313 -- -k benchmarks --benchmark-enable --codspeed