Skip to content

Commit

Permalink
Further fixes to the build-gcpy-environment.yml file
Browse files Browse the repository at this point in the history
.github/workflows/build-gcpy-environment.yml
- Fix incorrect path to environment.yml
- Set generate-run-shell: true
- Use micromamba-shell

Signed-off-by: Bob Yantosca <[email protected]>
  • Loading branch information
yantosca committed Jan 25, 2024
1 parent 332281c commit c99cca2
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/build-gcpy-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,14 @@ jobs:
- uses: mamba-org/[email protected]
with:
micromamba-version: 'latest'
environment-file: docs/source/environment.yml
environment-file: docs/environment_files/environment.yml
init-shell: bash
cache-environment: true
generate-run-shell: true
post-cleanup: 'all'
- name: Activate the GCPy environment
run: python -c "import gcpy"
shell: micromamba-shell {0}
- name: Run custom command in micromamba environment
run: python -m gcpy.examples.plotting.create_test_plot
shell: bash -el {0}
shell: micromamba-shell {0}

0 comments on commit c99cca2

Please sign in to comment.