fix(v2): references reference_kind 도입 — 'index↔count' QA 모순 해소 #612
Workflow file for this run
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 | |
| # IMPLEMENTATION_ROADMAP §1 P12.3 — ubuntu + macos matrix | |
| # lint (ruff) + type check (mypy --strict) + unit/integration tests (pytest -m "not e2e") | |
| # e2e tests는 ANTHROPIC_API_KEY 필요 — manual / nightly로 별도 처리. | |
| on: | |
| push: | |
| branches: ["**"] | |
| pull_request: | |
| branches: [main] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| python-version: ["3.11"] | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - name: Set up Python ${{ matrix.python-version }} | |
| uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| cache: pip | |
| # Polish P-4 (B2): Java compile 분기 cover 위해 javac 설치 | |
| - name: Set up JDK 17 (B2 — Java compile coverage) | |
| uses: actions/setup-java@v5 | |
| with: | |
| distribution: temurin | |
| java-version: "17" | |
| - name: Verify javac | |
| run: javac -version | |
| # Polish P-4 (A4): Docker는 ubuntu runner에 기본 설치, macOS는 skip | |
| - name: Verify Docker (ubuntu only — A4) | |
| if: matrix.os == 'ubuntu-latest' | |
| run: docker --version | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install -e . | |
| - name: Lint (ruff) | |
| run: ruff check ipe tests | |
| - name: Type check (mypy --strict) | |
| run: mypy --strict ipe | |
| - name: Unit + integration tests (skip e2e) | |
| run: pytest -q -m "not e2e" --cov=ipe --cov-report=term | |
| - name: Coverage threshold (80%+) | |
| run: | | |
| coverage report --fail-under=80 |