Skip to content

Commit 16d66a2

Browse files
committed
ci: Use OS-specific conda environment files in GitHub Actions workflows
1 parent 7a719c7 commit 16d66a2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.github/workflows/conda-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Micromamba
2626
uses: mamba-org/setup-micromamba@v1
2727
with:
28-
environment-file: ci/environment.yml
28+
environment-file: ${{ matrix.os == 'macos-latest' && 'ci/environment-macos.yml' || 'ci/environment.yml' }}
2929
cache-environment: true
3030
create-args: >-
3131
python=${{ matrix.python-version }}

.github/workflows/conda-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525
- name: Setup Micromamba
2626
uses: mamba-org/setup-micromamba@v1
2727
with:
28-
environment-file: ci/environment.yml
28+
environment-file: ${{ matrix.os == 'macos-latest' && 'ci/environment-macos.yml' || 'ci/environment.yml' }}
2929
cache-environment: true
3030
create-args: >-
3131
python=${{ matrix.python-version }}

0 commit comments

Comments
 (0)