Skip to content

Commit

Permalink
Seperating the runs for MacOs and Ubuntu to add in platform support.
Browse files Browse the repository at this point in the history
  • Loading branch information
JPGlaser committed Aug 2, 2024
1 parent 9a55e0e commit 4605a60
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/test_CondaEnv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
paths:
- '**-env.yml'
- '.github/workflows/**'

jobs:
build-conda-env:
Expand All @@ -18,10 +19,11 @@ jobs:
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: false
- name: Install Conda Environment
- name: Install Conda Environment on MacOS
- if: matrix.os == 'macos-latest'
run: |
micromamba env create --platform osx-64 --file anaconda-env.yml
- name: Install Conda Environment on Ubuntu
- if: matrix.os == 'ubuntu-latest'
run: |
micromamba env create --file anaconda-env.yml

0 comments on commit 4605a60

Please sign in to comment.