Skip to content

Commit

Permalink
ENH add option to select Python verison in test workflow (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: Thomas Moreau <[email protected]>
  • Loading branch information
rflamary and tomMoral authored Jul 16, 2024
1 parent cebcb6b commit 45fc771
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion .github/workflows/test_benchmarks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,11 @@ on:
default: git
required: false
type: string
python_version:
description: Python version to use for the tests.
default: "3.9"
required: false
type: string
extra_args:
description: |
Extra arguments to be passed in benchopt test.
Expand Down Expand Up @@ -61,7 +66,7 @@ jobs:
miniforge-variant: Mambaforge
use-mamba: true
channels: conda-forge
python-version: 3.9
python-version: ${{ inputs.benchopt_version }}
activate-environment: ${{ env.CONDA_ENV }}

- run: conda info
Expand Down

0 comments on commit 45fc771

Please sign in to comment.