diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index ae016fe..6f4a5ea 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -32,6 +32,12 @@ jobs: create-args: python=${{ matrix.python-version }} init-shell: bash + # We've gotta use "bash -el {0}" in order to actually use the shell that + # has the environment activated. I am not 100% clear on why this is the + # case (I'm just following what github.com/mamba-org/setup-micromamba + # says), but if you take out the "-el {0}" part and just say + # "shell: bash" here then all of this stuff doesn't run in the conda + # environment we just created. - name: Sanity check echo python version run: python --version shell: bash -el {0}