Skip to content

fix for pre-commit action: use specified Python version #17

fix for pre-commit action: use specified Python version

fix for pre-commit action: use specified Python version #17

name: Python Package using Mamba
on: [push]
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: [3.11]
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 `environment-cpu.yml` with Micromamba
uses: mamba-org/setup-micromamba@v1
with:
environment-file: environment-cpu.yml
init-shell: >-
bash
zsh
cache-environment: true
post-cleanup: "all"