Skip to content

Commit

Permalink
parameterize environment file
Browse files Browse the repository at this point in the history
  • Loading branch information
eringrant committed Oct 31, 2023
1 parent 73947e1 commit 8252685
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/python-package-conda.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ jobs:
strategy:
matrix:
python-version: [3.11]
environment-file: [environment-cpu.yml]
max-parallel: 5

steps:
Expand All @@ -16,10 +17,10 @@ jobs:
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Conda environment from `environment-cpu.yml` with Micromamba
- name: Install Conda environment from `${{ matrix.environment-file}}` with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment-cpu.yml
environment-file: ${{ matrix.environment-file }}
init-shell: >-
bash
zsh
Expand Down

0 comments on commit 8252685

Please sign in to comment.