Skip to content
name: Python Package using Mamba
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
environment-file: [environment-cpu.yml]
max-parallel: 5
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
- name: Install Conda environment from `${{ matrix.environment-file}}` with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: ${{ matrix.environment-file }}
init-shell: >-
bash
zsh
cache-environment: true
post-cleanup: "all"