From 9b760ba1bb52eed9a8aadb298ce10b49dad13279 Mon Sep 17 00:00:00 2001 From: Cap Date: Tue, 16 Jan 2024 19:51:35 +0100 Subject: [PATCH] add Mamba --- .github/workflows/python-package.yml | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-package.yml b/.github/workflows/python-package.yml index 5b2006d..a10f412 100644 --- a/.github/workflows/python-package.yml +++ b/.github/workflows/python-package.yml @@ -1,7 +1,7 @@ # This workflow will install Python dependencies, run tests and lint with a variety of Python versions # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-python -name: Python package (without parsers) +name: Python package on: push: @@ -26,7 +26,17 @@ jobs: - name: Set up Python ${{ matrix.python-version }} uses: actions/setup-python@v3 with: - python-version: ${{ matrix.python-version }} + python-version: ${{ matrix.python-version }} + - name: Set up Mamba + uses: mamba-org/setup-micromamba@v1 + with: + micromamba-version: '1.3.1-0' + environment-file: environment.yml + init-shell: >- + bash + powershell + cache-environment: true + post-cleanup: 'all' - name: Install dependencies run: | python -m pip install --upgrade pip