Skip to content

Benchmarks

Benchmarks #10

Workflow file for this run

name: Benchmarks
on:
schedule:
- cron: '0 0 * * *'
pull_request:
types: [opened, reopened, labeled, synchronize]
workflow_dispatch: {}
env:
FORCE_COLOR: "1"
jobs:
build:
if: ${{ github.event_name != 'pull_request' || contains(github.event.pull_request.labels.*.name, 'run-benchmarks') }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.10
uses: actions/setup-python@v5
with:
python-version: '3.10'
cache: 'pip'
- name: Upgrade nox and uv
run: |
python -m pip install --upgrade 'nox[uv]'
nox --version
uv --version
- name: Run benchmarks
run: nox -s bench