Skip to content

Update asv.conf.json #6

Update asv.conf.json

Update asv.conf.json #6

Workflow file for this run

name: ASV Benchmark
on:
push:
branches:
- main # Run benchmarks on every commit to the main branch
workflow_dispatch:
jobs:
benchmark:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.9' # or the version you want to test
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install asv # Install ASV
pip install -e ".[test]" # Your project dependencies, if needed
- name: Run ASV benchmarks
run: |
asv machine --yes
asv run
- name: Deploy HTML report to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: .asv/html