Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GH actions benchmark run #1730

Merged
merged 4 commits into from
Oct 22, 2024
Merged
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
14 changes: 8 additions & 6 deletions .github/workflows/benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,26 +25,28 @@ jobs:
ASV_DIR: "./benchmarks"

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
with:
fetch-depth: 0

- run: git fetch origin main:main
if: ${{ github.ref_name != 'main' }}
# Errors on main branch

- uses: mamba-org/setup-micromamba@v1
- uses: mamba-org/setup-micromamba@v2
with:
environment-name: asv
cache-environment: true
# Deps documented in https://asv.readthedocs.io/en/latest/installing.html
# libmambapy upper bound: https://github.com/airspeed-velocity/asv/issues/1438
create-args: >-
python=3.11
python=${{ matrix.python }}
asv
mamba
packaging
libmambapy<2
conda-build

- name: Cache datasets
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: |
~/.cache
Expand Down
Loading