I have a workflow file that creates an environment, and sets up init-shell, but it seems that for some reason the environment variables are not set correctly in the next step:
- name: Install micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-name: sunode-dev
create-args: >-
python=${{ matrix.python-version }}
pytest
pytest-cov
hypothesis
statsmodels
pytensor
c-compiler
sundials<6.0
numba
sympy
typing_extensions
cffi
xarray
init-shell: bash powershell
- name: Get some debugging info
run: |
env
which gcc
I have a workflow file that creates an environment, and sets up
init-shell
, but it seems that for some reason the environment variables are not set correctly in the next step:The output of the "get some debugging info" step shows
CONDA_PREFIX
entry for instance: https://github.com/pymc-devs/sunode/actions/runs/8823438279/job/24223870556?pr=50#step:4:115It does seem to work on windows however: https://github.com/pymc-devs/sunode/actions/runs/8823438279/job/24223871147?pr=50#step:4:37
The full workflow file: https://github.com/pymc-devs/sunode/blob/1d01448ab6181bf788c525e0139e32c4bc78870d/.github/workflows/main.yml