Skip to content

Add the parameter sample to all dimensions selectors. #50

Add the parameter sample to all dimensions selectors.

Add the parameter sample to all dimensions selectors. #50

Workflow file for this run

name: benchmarks
on:
push:
branches:
- "master"
pull_request:
workflow_dispatch:
jobs:
benchmarks:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/setup-python@v3
with:
python-version: "3.9"
- name: Install dependencies
run: pip install -r requirements.txt
- name: Install current version
run: pip install .
- name: Install development dependencies
run: pip install -r requirements-dev.txt
- name: Install pytest-codspeed
run: |
pip uninstall -y pytest-benchmark
pip install pytest-codspeed
- name: Run benchmarks
uses: CodSpeedHQ/action@v1
with:
token: ${{ secrets.CODSPEED_TOKEN }}
run: pytest tests/ --codspeed