Skip to content

Commit

Permalink
Fix path to envs in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
lczech committed Jul 11, 2024
1 parent 358e03a commit 72680b2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ jobs:
# channels: conda-forge,defaults
# channel-priority: true
# use-mamba: true
# environment-file: envs/grenepipe.yaml
# environment-file: workflow/envs/grenepipe.yaml
# activate-environment: grenepipe

# We might need to replace the above, at least for now, due to instabilities in the action,
Expand All @@ -152,7 +152,7 @@ jobs:
miniforge-version: latest
use-mamba: true
channels: conda-forge,defaults
environment-file: envs/grenepipe.yaml
environment-file: workflow/envs/grenepipe.yaml
activate-environment: grenepipe

# Manually create the conda env.
Expand All @@ -161,7 +161,7 @@ jobs:
# - name: Install Conda Env
# shell: bash -el {0}
# run: |
# mamba env create -f envs/grenepipe.yaml -n grenepipe
# mamba env create -f workflow/envs/grenepipe.yaml -n grenepipe
# Then in the run step:
# conda activate grenepipe

Expand Down Expand Up @@ -244,7 +244,7 @@ jobs:
miniforge-version: latest
use-mamba: true
channels: conda-forge,defaults
environment-file: envs/grenepipe.yaml
environment-file: workflow/envs/grenepipe.yaml
activate-environment: grenepipe

- name: Run Example
Expand Down Expand Up @@ -312,15 +312,15 @@ jobs:
# and to test if both mamba and micromamba work for all envs.
# Any version from https://github.com/mamba-org/micromamba-releases
micromamba-version: '1.5.8-0'
environment-file: envs/grenepipe.yaml
environment-file: workflow/envs/grenepipe.yaml
environment-name: grenepipe
init-shell: bash
post-cleanup: 'all'

- name: Install Envs
shell: bash -el {0}
run: |
cd envs
cd workflow/envs
for env in `ls *.yaml` ; do
name=${env%.yaml}
printf "\n" ; printf '=%.0s' {1..100}
Expand Down

0 comments on commit 72680b2

Please sign in to comment.