Benchmark #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Benchmark | |
on: [workflow_dispatch] | |
jobs: | |
build_and_test: | |
name: "${{ matrix.os }} + python ${{ matrix.python-version }}" | |
runs-on: "${{ matrix.os }}" | |
strategy: | |
fail-fast: false | |
matrix: | |
os: ["windows-latest", "ubuntu-latest", "macos-13"] | |
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install lap from source | |
run: pip install git+https://github.com/gatagat/lap.git | |
- name: Install scipy | |
run: pip install scipy | |
- name: 📊 Run benchmark_simple.py | |
run: | | |
cd benchmark | |
python benchmark_simple.py |