Skip to content

Add relationship list predicates #112

Add relationship list predicates

Add relationship list predicates #112

Workflow file for this run

name: codspeed-benchmarks
on:
push:
branches:
- "master"
pull_request:
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install uv
run: |
curl -LsSf https://astral.sh/uv/install.sh | sh
echo "$HOME/.cargo/bin" >> $GITHUB_PATH
- name: Cache uv
uses: actions/cache@v3
with:
path: ~/.cache/uv
key: uv-${{ runner.os }}-${{ hashFiles('uv.lock', 'pyproject.toml') }}
restore-keys: |
uv-${{ runner.os }}-
- name: Set up uv venv and install dependencies
run: |
uv venv
uv pip install pytest pytest-cov pytest-codspeed
uv pip install -e .
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
run: .venv/bin/pytest . --codspeed