Skip to content

Fix Linux compatibility without breaking ARM macOS compatibility #1

Fix Linux compatibility without breaking ARM macOS compatibility

Fix Linux compatibility without breaking ARM macOS compatibility #1

Workflow file for this run

name: Tests of conda environments on both Linux and Mac
on:
push:
branches:
- main
- develop
pull_request:
jobs:
environments-are-installable:
name: Environments are installable
runs-on: ["ubuntu-latest", "macos-latest"]
steps:
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: "latest"
activate-environment: environment.yaml
- name: DAG env
shell: bash -el {0}
run: |
conda env create -f envs/geo.yaml --dry-run
- name: Default env
shell: bash -el {0}
run: |
conda env create -f envs/default.yaml --dry-run
- name: Geo env
shell: bash -el {0}
run: |
conda env create -f envs/geo.yaml --dry-run
- name: Hydro env
shell: bash -el {0}
run: |
conda env create -f envs/hydro.yaml --dry-run
- name: Shell env
shell: bash -el {0}
run: |
conda env create -f envs/shell.yaml --dry-run
- name: Test env
shell: bash -el {0}
run: |
conda env create -f envs/test.yaml --dry-run
- name: Vis env
shell: bash -el {0}
run: |
conda env create -f envs/vis.yaml --dry-run
- name: Requirements docs env
shell: bash -el {0}
run: |
conda env create -f requirements-docs.yaml --dry-run
- name: Requirements test env
shell: bash -el {0}
run: |
conda env create -f requirements-test.yaml --dry-run
- name: Model usage env
shell: bash -el {0}
run: |
conda env create -f templates/environment.yaml --dry-run