File tree Expand file tree Collapse file tree 1 file changed +39
-0
lines changed
Expand file tree Collapse file tree 1 file changed +39
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Codspeed Benchmarks
2+ on :
3+ pull_request :
4+ types : [ opened, reopened, synchronize ]
5+ paths :
6+ - ' card_data/**'
7+
8+ permissions :
9+ contents : read
10+ id-token : write
11+
12+ jobs :
13+ benchmarks :
14+ runs-on : ubuntu-22.04
15+ defaults :
16+ run :
17+ working-directory : card_data
18+
19+ steps :
20+ - name : Checkout
21+ uses : actions/checkout@v6
22+
23+ - name : Setup Python
24+ uses : actions/setup-python@v6
25+ with :
26+ python-version : ' 3.12'
27+
28+ - name : Install uv
29+ uses : astral-sh/setup-uv@v4
30+
31+ - name : Install dependencies
32+ run : uv sync --dev
33+
34+ - name : Run the benchmarks
35+ uses : CodSpeedHQ/action@v4
36+ with :
37+ working-directory : card_data
38+ mode : simulation
39+ run : uv run pytest pipelines/tests/ -v --codspeed
You can’t perform that action at this time.
0 commit comments