Skip to content

Commit bcaa33c

Browse files
adriencacciacodspeedbot
authored andcommitted
feat: add CodSpeed to the project
1 parent 2c7a857 commit bcaa33c

15 files changed

Lines changed: 32 additions & 1321 deletions

.github/workflows/backport.yml

Lines changed: 0 additions & 29 deletions
This file was deleted.

.github/workflows/benchmark.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: codspeed-benchmarks
2+
3+
on:
4+
push:
5+
branches:
6+
- "main" # or "master"
7+
pull_request:
8+
# `workflow_dispatch` allows CodSpeed to trigger backtest
9+
# performance analysis in order to generate initial data.
10+
workflow_dispatch:
11+
12+
jobs:
13+
benchmarks:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v3
17+
- uses: actions/setup-python@v3
18+
with:
19+
python-version: "3.12"
20+
21+
- name: Install dependencies
22+
run: |
23+
python -m pip install -U pip setuptools wheel
24+
pip install -U -r requirements_test_min.txt
25+
26+
- name: Run benchmarks
27+
uses: CodSpeedHQ/action@v2
28+
with:
29+
token: ${{ secrets.CODSPEED_TOKEN }}
30+
run: pytest tests/ --codspeed

.github/workflows/changelog.yml

Lines changed: 0 additions & 66 deletions
This file was deleted.

.github/workflows/checks.yaml

Lines changed: 0 additions & 191 deletions
This file was deleted.

0 commit comments

Comments
 (0)