Skip to content

test: codspeed CI workflow #2

test: codspeed CI workflow

test: codspeed CI workflow #2

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.10"
- name: Install uv
run: curl -LsSf https://astral.sh/uv/install.sh | sh
- name: Install dependencies
run: uv pip install -r requirements-dev.txt --system
- name: show-deps
run: uv pip freeze
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
run: pytest tests/tpch -m "benchmark" --codspeed