Skip to content

Feature: support rectilinear chunk grid extension #110

Feature: support rectilinear chunk grid extension

Feature: support rectilinear chunk grid extension #110

Workflow file for this run

name: CodSpeed Benchmarks
on:
push:
branches:
- "main"
pull_request:
types: [labeled, synchronize]
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
permissions:
contents: read
jobs:
benchmarks:
name: Run benchmarks
runs-on: codspeed-macro
# Only run benchmarks for: pushes to main, manual triggers, or PRs with 'benchmark' label
if: |
github.event_name == 'push' ||
github.event_name == 'workflow_dispatch' ||
(github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 'benchmark'))
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0 # grab all branches and tags
- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.11"
- name: Install Hatch
run: |
python -m pip install --upgrade pip
pip install hatch
- name: Run the benchmarks
uses: CodSpeedHQ/action@v4
with:
mode: walltime
run: hatch run test.py3.11-minimal:pytest tests/benchmarks --codspeed