Skip to content

Make the plugin compatible with ewatercycle 2.3.1 #12

Make the plugin compatible with ewatercycle 2.3.1

Make the plugin compatible with ewatercycle 2.3.1 #12

Workflow file for this run

name: Python package
on:
push:
branches: [main]
pull_request:
types: [opened, synchronize, reopened]
jobs:
test:
runs-on: ubuntu-latest
name: Run tests in mamba environment
steps:
- uses: actions/checkout@v4
- name: Download mamba environment.yml
run:
wget https://raw.githubusercontent.com/eWaterCycle/ewatercycle/main/conda-lock.yml
- uses: mamba-org/setup-micromamba@v1
with:
environment-file: conda-lock.yml
environment-name: ci
cache-environment: true
init-shell: bash
- name: Install dependencies
shell: micromamba-shell {0}
run: |
pip3 install pytest
pip3 install -e .
- name: Test with pytest
run: pytest
shell: micromamba-shell {0}