Skip to content

Merge branch 'develop' of https://github.com/TaskarCenterAtUW/workspa… #210

Merge branch 'develop' of https://github.com/TaskarCenterAtUW/workspa…

Merge branch 'develop' of https://github.com/TaskarCenterAtUW/workspa… #210

Workflow file for this run

name: CI
on:
push:
branches: [ develop ]
pull_request:
branches: [ develop ]
# Cancel any in-progress run for the same branch/PR when a newer commit lands.
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.12"]
steps:
- uses: actions/checkout@v5
- name: Install uv
uses: astral-sh/setup-uv@v6
with:
version: "0.5.8"
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v6
with:
python-version: ${{ matrix.python-version }}
# Runs the same checks locals get from scripts/ci.sh: uv sync, isort,
# black, pyright, and pytest. `--integration` additionally runs the
# PostGIS/testcontainers suite (`pytest -m integration`); the ubuntu-latest
# runner ships a running Docker daemon, which testcontainers needs to boot
# the database. The script runs every check and exits non-zero if any fail,
# so a single red step still lists all failures.
- name: Run CI checks
run: ./scripts/ci.sh --integration