You're viewing an older version of this GitHub Action. Do you want to see the latest version instead?
GitHub Action
provision-with-micromamba
v9
GitHub Action to provision a CI instance using micromamba
Optional The the environment.yml
file for the conda environment. Default is environment.yml
Optional Specify a custom environment name,
to overwrite the name specified in the environment.yml
,
or in in case it was not specified in the environment.yml
.
Optional Specifiy a custom micromamba version. Use "latest"
for bleeding edge.
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
# linux and osx
- name: run python
shell: bash -l {0}
run: |
python -c "import numpy"
# windows
- name: run python
shell: powershell
run: |
python -c "import numpy"
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
with:
- environment-file: myenv.yaml
- environment-name: myenv
When developing, you need to
- install
nodejs
- clone the repo
- run
npm install -y
- run
npm run build
after making changes