Skip to content

Merge pull request #1 from CodSpeedHQ/feat/install-codspeed #2

Merge pull request #1 from CodSpeedHQ/feat/install-codspeed

Merge pull request #1 from CodSpeedHQ/feat/install-codspeed #2

Workflow file for this run

name: CodSpeed
on:
push:
branches:
- main # Run on pushes to the main branch
pull_request: # Run on all pull requests
jobs:
codspeed:
name: Run benchmarks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: "3.13"
- name: Install dependencies
run: pip install pytest pytest-codspeed
- uses: CodSpeedHQ/action@v3
with:
run: pytest tests/ --codspeed
token: ${{ secrets.CODSPEED_TOKEN }} # Optional for public repositories