Skip to content

Commit

Permalink
Use bash instead of micromamba-shell in build-gcpy-environment action
Browse files Browse the repository at this point in the history
.github/workflows/build-gcpy-environment.yml
- Replace "micromamba-shell {0}" with "bash -el {0}" in the run steps,
  since do not use the micromamba-shell option.

Signed-off-by: Bob Yantosca <[email protected]>
  • Loading branch information
yantosca committed Jan 25, 2024
1 parent 993a13b commit 332281c
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-gcpy-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main", "dev" ]

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -26,9 +26,8 @@ jobs:
init-shell: bash
cache-environment: true
post-cleanup: 'all'
- name: Import gcpy in micromamba environment (bash)
- name: Activate the GCPy environment
run: python -c "import gcpy"
shell: bash -el {0}
- name: Run custom command in micromamba environment
run: python -m gcpy.examples.plotting.create_test_plot
shell: micromamba-shell {0}
shell: bash -el {0}

0 comments on commit 332281c

Please sign in to comment.