Skip to content
You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
chevrons-right

GitHub Action

provision-with-micromamba

v6

provision-with-micromamba

chevrons-right

provision-with-micromamba

provision a CI instance using micromamba

Installation

Copy and paste the following snippet into your .yml file.

              

- name: provision-with-micromamba

uses: mamba-org/provision-with-micromamba@v6

Learn more about this action in mamba-org/provision-with-micromamba

Choose a version

provision-with-micromamba

test

GitHub Action to provision a CI instance using micromamba

Inputs

environment-file

Required The the environment.yml file for the conda environment. Default is environment.yml

Example usage

name: test
on:
  push: null

jobs:
  test:
    runs-on: ubuntu-latest
    name: test
    steps:
      - uses: actions/checkout@v2

      - name: install mamba
        uses: mamba-org/provision-with-micromamba@main

      - name: run python
        shell: bash -l {0}
        run: |
          python -c "import numpy"

Development

When developing, you need to

  1. install nodejs
  2. clone the repo
  3. run npm install -y
  4. run npm run build after making changes