Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 22 additions & 10 deletions .github/workflows/asv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,11 @@ jobs:
needs: run-benchmarks
permissions:
contents: write
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}

steps:
- uses: actions/checkout@v5
Expand All @@ -57,8 +62,7 @@ jobs:

- name: Set up main branch
if: github.event_name == 'pull_request'
run: |
git branch main origin/main
run: git branch main origin/main

- name: Prepare previous ASV results
uses: actions/checkout@v5
Expand Down Expand Up @@ -90,20 +94,28 @@ jobs:
cache: true

- name: Generate HTML report
run: |
pixi run asv-publish

run: pixi run asv-publish

- name: Copy results to publish directory
run: |
cp -r asv_benchmarks/results asv_benchmarks/html/results
run: cp -r asv_benchmarks/results asv_benchmarks/html/results

- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v4
- name: Deploy history to gh-pages
if: github.event_name == 'push'
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: asv_benchmarks/html
keep_files: true
user_name: 'github-actions[bot]'
user_email: 'github-actions[bot]@users.noreply.github.com'
commit_message: ${{ github.event.head_commit.message }}
commit_message: ${{ github.event.head_commit.message }}

- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: asv_benchmarks/html

- name: Deploy to GitHub Pages
id: deployment
if: github.event_name == 'push'
uses: actions/deploy-pages@v4
2 changes: 1 addition & 1 deletion .github/workflows/emscripten.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Build WASM wheel
uses: pypa/[email protected].3
uses: pypa/[email protected].4
env:
CIBW_PLATFORM: pyodide
- name: Upload package
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wheel.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v5
- name: Build wheels
uses: pypa/[email protected].3
uses: pypa/[email protected].4
env:
CIBW_SKIP: "*_i686 *_ppc64le *_s390x *_universal2 *-musllinux_* cp314*"
CIBW_PROJECT_REQUIRES_PYTHON: ">=3.10"
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ fastcan: A fast canonical-correlation-based greedy search algorithm
:target: https://pixi.sh

.. |asv| image:: https://img.shields.io/badge/benchmarked%20by-asv-blue.svg?style=flat
:target: http://contrib.scikit-learn.org/fastcan/
:target: https://contrib.scikit-learn.org/fastcan/

fastcan is a greedy search algorithm that supports:

Expand Down
Loading