Skip to content

Benchmarking

Benchmarking #8

Workflow file for this run

name: codspeed-benchmarks
on:
# Run on pushes to the main branch
push:
branches:
- "master" # or "main"
# Run on pull requests
pull_request:
# `workflow_dispatch` allows CodSpeed to trigger backtest
# performance analysis in order to generate initial data.
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- name: Run benchmarks
uses: CodSpeedHQ/action@v1
uses: ./.github/actions/setup_build_env

Check failure on line 20 in .github/workflows/codespaces.yml

View workflow run for this annotation

GitHub Actions / codspeed-benchmarks

Invalid workflow file

The workflow is not valid. .github/workflows/codespaces.yml (Line: 20, Col: 9): 'uses' is already defined .github/workflows/codespaces.yml (Line: 28, Col: 9): 'with' is already defined
with:
# running vs. one version of Python is OK
# i.e. ruff, black, etc.
python-version: 3.11.5
run-poetry-install: true
shell: bash
create-venv-at-path: .venv
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: poetry run pytest tests/ --codspeed