Skip to content

feat: v0.1.97

feat: v0.1.97 #1059

Workflow file for this run

name: Tests
on:
pull_request:
push:
jobs:
fast-tests:
name: Fast Tests (py${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v4
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: uv sync --frozen --all-extras
- name: Run fast test lane
env:
RUN_INTEGRATION: "1"
RUN_LIVE_API: "0"
RUN_EXPENSIVE: "0"
RUN_DOCKER: "0"
run: >
uv run pytest massgen/tests
-m "not live_api and not docker and not expensive"
-k "not test_timeline_snapshot and not test_final_lock_option and not test_web_quickstart_reasoning_sync and not test_subagent_input_bar_snapshot_matches_main_input and not test_review_modal_snapshot"
-q --tb=short
# Blocking mypy gate for the type-checked island (ratchet).
- name: mypy island (blocking)
if: matrix.python-version == '3.12'
run: bash scripts/mypy_island.sh
# Non-blocking full-repo mypy for visibility (codebase is largely untyped).
- name: mypy full repo (non-blocking)
if: matrix.python-version == '3.12'
continue-on-error: true
run: uv run mypy massgen/ || true
# Non-blocking coverage visibility (no gate yet — establish a baseline first).
- name: Coverage (non-blocking)
if: matrix.python-version == '3.12'
continue-on-error: true
env:
RUN_INTEGRATION: "1"
RUN_LIVE_API: "0"
RUN_EXPENSIVE: "0"
RUN_DOCKER: "0"
run: >
uv run pytest massgen/tests
-m "not live_api and not docker and not expensive"
-k "not test_timeline_snapshot and not test_final_lock_option and not test_web_quickstart_reasoning_sync and not test_subagent_input_bar_snapshot_matches_main_input and not test_review_modal_snapshot"
-q --tb=no -p no:cacheprovider
--cov=massgen --cov-report=term-missing:skip-covered --cov-report=xml