Skip to content

Merge pull request #1003 from jwagenet/slot-fixes #91

Merge pull request #1003 from jwagenet/slot-fixes

Merge pull request #1003 from jwagenet/slot-fixes #91

Workflow file for this run

name: benchmarks
on: [push, pull_request, workflow_dispatch]
jobs:
benchmarks:
strategy:
fail-fast: false
matrix:
python-version: [
# "3.10",
# "3.11",
"3.12",
]
os: [macos-13, macos-14, ubuntu-latest, windows-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup/
with:
python-version: ${{ matrix.python-version }}
- name: benchmark
run: |
python -m pytest --benchmark-only --benchmark-autosave
pytest-benchmark compare --csv="results.csv"
cat results.csv
- uses: actions/upload-artifact@v4
with:
name: benchmark-results-${{ matrix.os }}
path: results.csv