Skip to content

Commit

Permalink
TST: apparently yes. document the -el {0} thing
Browse files Browse the repository at this point in the history
  • Loading branch information
fedarko committed Aug 24, 2023
1 parent e284a51 commit 1d77663
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down

0 comments on commit 1d77663

Please sign in to comment.