Skip to content

test: codspeed CI workflow #5

test: codspeed CI workflow

test: codspeed CI workflow #5

Workflow file for this run

name: codspeed benchmarks
on:
pull_request:
workflow_dispatch:
push:
branches:
- main
jobs:
codspeed-benchmarks:
name: codspeed benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: |
uv pip install -r requirements-dev.txt "numpy<2.0.0" --system
- name: show-deps
run: uv pip freeze
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
run: pytest tpch/benchmarks --codspeed