Skip to content

chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#491) #16

chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#491)

chore(deps): bump actions/checkout from 6.0.2 to 6.0.3 (#491) #16

Workflow file for this run

name: CodSpeed
on:
push:
branches: [main]
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
id-token: write
jobs:
codspeed:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install uv
uses: astral-sh/setup-uv@08807647e7069bb48b6ef5acd8ec9567f424441b # v8.1.0
with:
enable-cache: true
prune-cache: false
- name: Set up Python
run: uv python install '3.14'
- name: Prepare project for development
run: uv sync
- name: Run benchmarks
uses: CodSpeedHQ/action@9d332c4d90b43981c3e55ae8e38e68709996240f # v4.17.0
with:
mode: simulation
run: uv run pytest tests/test_benchmarks.py --codspeed