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}