Skip to content

chore: Update pre-commit #78

chore: Update pre-commit

chore: Update pre-commit #78

Workflow file for this run

name: Benchmarks
on:
push:
branches:
- "main"
pull_request:
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-22.04
steps:
- uses: actions/[email protected]
- uses: actions/setup-python@v5
with:
# Python 3.12 for flamegraph support
python-version: "3.12"
- name: Install dependencies
run: pip install ".[bench]"
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest benches/*.py --codspeed