Skip to content

Commit

Permalink
feat: add CodSpeed to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
adriencaccia authored and CodSpeed Install Bot committed Jul 20, 2024
1 parent 8e18fc0 commit 50af598
Show file tree
Hide file tree
Showing 15 changed files with 32 additions and 1,321 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/backport.yml

This file was deleted.

30 changes: 30 additions & 0 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: codspeed-benchmarks

on:
push:
branches:
- "main" # or "master"
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:

jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v3
with:
python-version: "3.12"

- name: Install dependencies
run: |
python -m pip install -U pip setuptools wheel
pip install -U -r requirements_test_min.txt
- name: Run benchmarks
uses: CodSpeedHQ/action@v2
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest tests/ --codspeed
66 changes: 0 additions & 66 deletions .github/workflows/changelog.yml

This file was deleted.

191 changes: 0 additions & 191 deletions .github/workflows/checks.yaml

This file was deleted.

Loading

0 comments on commit 50af598

Please sign in to comment.