Skip to content

Commit

Permalink
Update environment test to run in parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
timtroendle committed May 7, 2024
1 parent e2839d5 commit c8bd860
Showing 1 changed file with 14 additions and 21 deletions.
35 changes: 14 additions & 21 deletions .github/workflows/environments.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,18 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macos-latest"]
os: [ubuntu-latest, macos-latest]
env:
- ./envs/geo.yaml
- ./envs/default.yaml
- ./envs/geo.yaml
- ./envs/hydro.yaml
- ./envs/shell.yaml
- ./envs/test.yaml
- ./envs/vis.yaml
- ./requirements-docs.yaml
- ./requirements-test.yaml
- ./templates/environment.yaml
defaults:
run:
shell: bash -l {0}
Expand All @@ -23,23 +34,5 @@ jobs:
- uses: conda-incubator/setup-miniconda@v3
with:
miniconda-version: latest
- name: DAG env
run: conda env create -f ./envs/geo.yaml --dry-run
- name: Default env
run: conda env create -f ./envs/default.yaml --dry-run
- name: Geo env
run: conda env create -f ./envs/geo.yaml --dry-run
- name: Hydro env
run: conda env create -f ./envs/hydro.yaml --dry-run
- name: Shell env
run: conda env create -f ./envs/shell.yaml --dry-run
- name: Test env
run: conda env create -f ./envs/test.yaml -n test_env --dry-run
- name: Vis env
run: conda env create -f ./envs/vis.yaml --dry-run
- name: Requirements docs env
run: conda env create -f ./requirements-docs.yaml --dry-run
- name: Requirements test env
run: conda env create -f ./requirements-test.yaml --dry-run
- name: Model usage env
run: conda env create -f ./templates/environment.yaml --dry-run
- name: ${{ matrix.env }} env
run: conda env create -f ${{ matrix.env }} -n environment_test --dry-run

0 comments on commit c8bd860

Please sign in to comment.