Skip to content

Add flood metrics, ensembling, model persistence, and a predict CLI (#1) #2

Add flood metrics, ensembling, model persistence, and a predict CLI (#1)

Add flood metrics, ensembling, model persistence, and a predict CLI (#1) #2

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.9", "3.12"]
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: pip
- name: Install (CPU-only torch to keep CI fast)
run: |
python -m pip install --upgrade pip
pip install torch --index-url https://download.pytorch.org/whl/cpu
pip install -e ".[dev]"
- name: Run tests
run: pytest -q