Skip to content

Fix error in asv config filename #7

Fix error in asv config filename

Fix error in asv config filename #7

Workflow file for this run

# This workflow will install Python dependencies, run benchmarks with airspeed velocity (asv)
# and publish the results to a dashboard on GH Pages.
name: Run benchmarks with airspeed velocity
on:
push:
branches: [ main ]
env:
ASV_CONFIG: benchmarks/asv.conf.json
jobs:
install-python:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.8', '3.9', '3.10']
steps:
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
run-asv:
needs: install-python
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install dependencies
run: |
sudo apt-get update
python -m pip install --upgrade pip
pip install .
pip install .[dev]
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
- name: Run benchmarks with asv
run: asv run --config $ASV_CONFIG -v
- name: Publish results to GH-pages
run: asv gh-pages --config $ASV_CONFIG -v