Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When used in NPM scripts, `setup-micromamba` provides a convenient way to download micromamba and create conda environments. Set options through environment variables in invocation. If micromamba has already been downloaded or an environment already exists, it will not be recreated. Example: ``` "scripts": { [...] "micromamba": "MICROMAMBA_ROOT_PATH=micromamba CREATE_ENVIRONMENT=true CREATE_ARGS=\"python=3.11\" ENVIRONMENT_NAME=test-env setup-micromamba", [...] ``` We re-use the mocking core. Determination of the core backend is moved to a separate module to prevent duplication and circular imports. The default micromamba bin path is set to `${MICROMAMBA_ROOT_PATH}/micromamba` if `MICROMAMBA_ROOT_PATH` is set. Have the mocking core respect the log level.
- Loading branch information