provision-with-micromamba
provision-with-micromamba copied to clipboard
Not working out of the box with `cmd`
Currently I need to activate the conda environment by hand on the cmd
shell. Here are my instructions
strategy:
fail-fast: false
matrix:
runs-on: [windows-latest]
name: ${{ matrix.runs-on }} • x64 ${{ matrix.args }} • py
runs-on: ${{ matrix.runs-on }}
steps:
- name: Basic GitHub action setup
uses: actions/checkout@v2
- name: Set conda environment
uses: mamba-org/provision-with-micromamba@main
with:
environment-file: environment.yaml
environment-name: myenv
- name: Build and install Python module
shell: cmd /C CALL {0}
run: |
call micromamba activate myenv
python -m pip install . -vv