Skip to content
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
16 changes: 16 additions & 0 deletions .github/workflows/test_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,15 @@ on:
default: "."
required: false
type: string
cache_dir:
description: |
Directories to cache in the workflow. This can be used to avoid
repeated data downloads that might hit rate limits when running
CI multiple times in a row, or to fasten large download chunks
when installing dependencies.
default: ""
required: false
type: string

# Cancel in-progress workflows when pushing
# a new commit on the same branch
Expand Down Expand Up @@ -79,6 +88,13 @@ jobs:

- run: conda info

- name: Cache directories
if: ${{ inputs.cache_dir != '' }}
uses: actions/cache@v5
with:
path: ${{ inputs.cache_dir }}
key: ${{ runner.os }}-${{ inputs.cache_dir }}

- name: Install benchopt and its dependencies
run: |
conda info
Expand Down
Loading