Skip to content

asv GitHub action

asv GitHub action #23

Workflow file for this run

name: Benchmarks
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v4
with:
python-version: "3.12"
- uses: actions/checkout@v3
- name: Install packages
run: |
git fetch origin $GITHUB_BASE_REF:base $GITHUB_REF:pr
python -m pip install --upgrade pip wheel setuptools
pip install -r requirements/default.txt -r requirements/benchmarks.txt
pip install virtualenv
pip install setuptools
pip install .
python -m pip list
- name: Benchmark against main
run: |
cd benchmarks/
asv machine --yes
asv continuous base pr -e