Skip to content

feat(fetch): add fetch-mode to work around HuggingFace clone failures (bug 2047876) #202

feat(fetch): add fetch-mode to work around HuggingFace clone failures (bug 2047876)

feat(fetch): add fetch-mode to work around HuggingFace clone failures (bug 2047876) #202

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:
benchmarks:
name: Run benchmarks
runs-on: ubuntu-latest
permissions:
contents: read # required for actions/checkout
id-token: write # required for OIDC authentication with CodSpeed
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
- uses: astral-sh/setup-uv@20cfd1bf945f4377ade1205e4dbc17946fc9a30d # v10.0.1
with:
python-version: "3.12"
- name: Install dependencies
run: uv sync
- name: Run benchmarks
uses: CodSpeedHQ/action@373d6868929f444bc08d901fd0eb0ad52a8875ea # v5.2.1
with:
mode: simulation
run: uv run pytest test/ --codspeed