Skip to content

Read of model when update in same root #1075

Read of model when update in same root

Read of model when update in same root #1075

Workflow file for this run

---
name: Tests
on:
push:
branches: [main]
paths:
- tests/*
- hydromt/*
- data/*
- pyproject.toml
pull_request:
branches: [main]
paths:
- tests/*
- hydromt/*
- data/*
- pyproject.toml
jobs:
Test-matrix:
name: ${{ matrix.os }} - py${{ matrix.python-version }}
runs-on: ${{ matrix.os }}
timeout-minutes: 10
defaults:
run:
shell: bash -l {0}
strategy:
fail-fast: false
matrix:
os: [ubuntu-latest]
python-version: ['3.9', '3.10', '3.11']
steps:
- uses: actions/checkout@v3
- name: Generate env spec
run: pip install tomli && python make_env.py test
- uses: conda-incubator/setup-miniconda@v2
with:
python-version: ${{ matrix.python-version }}
miniforge-variant: Mambaforge
channels: conda-forge, defaults
channel-priority: strict
environment-file: environment.yml
activate-environment: hydromt
- name: Test
run: python -m pytest --verbose --cov=hydromt --cov-report xml
- uses: codecov/codecov-action@v3
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true