Skip to content

👥 Update Pydantic People #1305

👥 Update Pydantic People

👥 Update Pydantic People #1305

Workflow file for this run

name: codspeed
on:
push:
branches:
- main
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
codspeed-profiling:
name: codspeed profiling
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pdm-project/setup-pdm@v4
with:
python-version: '3.12'
cache: true
- name: install deps
run: |
pdm venv create --with-pip --force $PYTHON
pdm install -G testing -G testing-extra -G email
- name: Run CodSpeed benchmarks
uses: CodSpeedHQ/action@v2
with:
run: pdm run pytest ./tests/benchmarks --codspeed