Skip to content

test with sudo apt update #3

test with sudo apt update

test with sudo apt update #3

on:
push:
branches: master
jobs:
benchmark_base_branch:
name: Continuous Benchmarking with Bencher
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: '3.9'
- uses: bencherdev/bencher@main
- name: Track base branch benchmarks with Bencher
run: |
sudo apt update
. scripts/ci_install_deps
bencher run \
--project pyquil \
--token '${{ secrets.BENCHER_API_TOKEN }}' \
--branch master \
--testbed ci-runner-linux \
--err \
--file results.json \
poetry run pytest --benchmark-json results.json test/benchmarks