From c99cca27e5802d916ad75a93bffa910c694f17ca Mon Sep 17 00:00:00 2001 From: Bob Yantosca Date: Thu, 25 Jan 2024 11:49:43 -0500 Subject: [PATCH] Further fixes to the build-gcpy-environment.yml file .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 --- .github/workflows/build-gcpy-environment.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-gcpy-environment.yml b/.github/workflows/build-gcpy-environment.yml index dc021638..8a478469 100644 --- a/.github/workflows/build-gcpy-environment.yml +++ b/.github/workflows/build-gcpy-environment.yml @@ -22,12 +22,14 @@ jobs: - uses: mamba-org/setup-micromamba@v1.8.0 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}