Skip to content

ci: Add job for Mamba installation #2

ci: Add job for Mamba installation

ci: Add job for Mamba installation #2

Workflow file for this run

# Check if installation with conda/mamba works

Check failure on line 1 in .github/workflows/test-install.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-install.yml

Invalid workflow file

(Line: 18, Col: 20): Unexpected value 'false'
name: Install Test
on:
schedule:
- cron: "0 6 * * *"
workflow_dispatch:
push: # TODO: Remove before merge!
jobs:
install-conda:
name: Install from Conda
timeout-minutes: 10
strategy:
matrix:
fail-fast: false
python-version: ["3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
-
name: Install with Mamba
uses: mamba-org/setup-micromamba@v2
with:
environment-name: climada_env_${{ matrix.python-version }}
create-args: >-
python=${{ matrix.python-version }}
climada
cache-environment: false # Recompute environment for each run
cache-downloads: true