Our workflow has a number of jobs that depends on conda, so I thought to pull conda related items into a command however, activating the environment doesn’t persist into the actual job itself. For example
commands: conda_stuff: description: "setup and activate conda environment" steps: - run: command: | ... conda activate my_env
The job would be:
my_job: ... steps: ... - conda_stuff: - run: command: | conda env list
and the output would be:
# conda environments: # base * /home/circleci/miniconda my_env /home/circleci/miniconda/envs/my_env
where base is activated.
Is there something I’m not understanding about how commands work?