Skip to content

CodSpeed

CodSpeed #264

Workflow file for this run

name: CodSpeed
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
jobs:
benchmarks:
name: Run benchmarks
runs-on: codspeed-macro
steps:
- uses: actions/checkout@v4
with:
submodules: "recursive"
- name: Set up Python 3.12
uses: actions/setup-python@v2
with:
python-version: "3.12"
- name: Install local version of pytest-codspeed
run: pip install .
- name: Run benchmarks
uses: CodSpeedHQ/action@main
with:
runner-version: 3.1.0-beta.2
run: pytest tests/benchmarks/ --codspeed