Skip to content

Commit

Permalink
Modified benchmarks.yml Github workflow so that older commits are s…
Browse files Browse the repository at this point in the history
…ave to the database.
  • Loading branch information
byrdie committed Nov 29, 2023
1 parent 094eba9 commit 0ddc658
Showing 1 changed file with 1 addition and 27 deletions.
28 changes: 1 addition & 27 deletions .github/workflows/benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,6 @@ on:
- main
pull_request:

permissions:
pages: write
id-token: write

jobs:
# Build job
build:
Expand All @@ -27,30 +23,8 @@ jobs:
python -m pip install --upgrade pip
pip install setuptools wheel
pip install -e .[benchmark]
ls
- name: Setup Pages
id: pages
uses: actions/configure-pages@v3
- name: Run benchmarks
run: |
asv machine --yes
asv run
asv publish
ls -a
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
path: .asv/html/


# Deployment job
deploy:
environment:
name: github-pages
url: ${{steps.deployment.outputs.page_url}}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v2
asv gh-pages

0 comments on commit 0ddc658

Please sign in to comment.