Skip to content

feat: migrate from poetry to uv #280

feat: migrate from poetry to uv

feat: migrate from poetry to uv #280

Workflow file for this run

name: CodSpeed
on:
push:
branches:
- develop
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
# 3.12 is the minimum reqquired version for profiling enabled
python-version: "3.12"
- uses: astral-sh/setup-uv@v6
- name: Build dists
run: make build
- name: Run benchmarks
uses: CodSpeedHQ/action@v3
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: uv run pytest tests/benchmarks --codspeed