Merge pull request #7 from DPIRD-DMA/overture-release-resilience #21
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| push: | |
| pull_request: | |
| schedule: | |
| # Sundays 00:00 UTC. No lockfile is committed, so uv resolves fresh each | |
| # run and this catches upstream releases that break us before users hit them. | |
| - cron: "0 0 * * 0" | |
| workflow_dispatch: | |
| jobs: | |
| check: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| fetch-depth: 0 # full history so setuptools-scm can read tags | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - uses: astral-sh/setup-uv@v8.0.0 | |
| with: | |
| cache-suffix: ${{ matrix.python-version }} | |
| - run: uv sync --all-extras --dev | |
| - name: Lint | |
| run: uv run ruff check . | |
| - name: Type check | |
| run: uv run mypy omniwatermask/ | |
| - name: Test | |
| run: uv run pytest tests/ -x -q # e2e/inference tests excluded via addopts |