Skip to content

chore: upgrade ci actions and exclude examples in whl #369

chore: upgrade ci actions and exclude examples in whl

chore: upgrade ci actions and exclude examples in whl #369

Workflow file for this run

name: CodSpeed
on:
push:
branches:
- develop
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-python@v6
with:
# 3.12 is the minimum required version for profiling enabled
python-version: "3.12"
- uses: astral-sh/setup-uv@v7
- name: Build dists
run: make build
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: uv run --frozen pytest tests/benchmarks --codspeed