Skip to content

ASV

ASV #139

Workflow file for this run

name: ASV
on:
schedule:
- cron: '0 0 * * 0'
workflow_dispatch:
pull_request:
jobs:
build:
name: Build and run benchmarks
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
with:
repository: 'scipp/scipp'
submodules: true
fetch-depth: 0 # history required so cmake can determine version
- uses: actions/checkout@v3
with:
path: 'scipp-benchmarks'
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- run: python -m pip install --upgrade pip
- run: python -m pip install -r requirements/ci.txt
- uses: hendrikmuhs/[email protected]
- run: tox -e lib
- run: tox -e asv
- uses: stefanzweifel/git-auto-commit-action@v4
with:
repository: scipp-benchmarks
file_pattern: results/*
- name: Deploy benchmark results
uses: JamesIves/[email protected]
with:
branch: gh_pages
folder: scipp-benchmarks/docs
single-commit: true