Skip to content

Handle hp:tab across parsing and text export #69

Handle hp:tab across parsing and text export

Handle hp:tab across parsing and text export #69

Workflow file for this run

name: Tests
on:
push:
pull_request:
jobs:
test:
runs-on: ubuntu-latest
strategy:
fail-fast: true
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: pip install -e .[test,typecheck]
- name: Validate gradual typing migration scope
run: python scripts/check_typing_generics_scope.py
- name: Run mypy (gradual scope)
run: mypy
- name: Run pyright (gradual scope)
run: pyright
- name: Run tests and keep summary log
env:
# 이번 hardening 범위에서 안정적으로 지킬 수 있는 수준까지 현실적으로 상향합니다.
COVERAGE_FAIL_UNDER: 60
run: |
pytest -v -ra --cov=hwpx --cov-report=term-missing --cov-fail-under=${COVERAGE_FAIL_UNDER} 2>&1 | tee pytest-summary.log
- name: Upload pytest summary log
if: always()
uses: actions/upload-artifact@v4
with:
name: pytest-summary-${{ matrix.python-version }}
path: pytest-summary.log