name: CI on: push: branches: [main] jobs: test: runs-on: ubuntu-latest steps: - name: checkout uses: actions/checkout@v4 - name: Python 3.10 환경 구성 uses: actions/setup-python@v5 with: python-version: "3.10" cache: "pip" - name: 의존성 및 개발 도구 설치 run: | python -m pip install --upgrade pip pip install -r requirements.txt pip install ruff mypy pytest pytest-cov - name: 코드 스타일 및 린트 검사 (Ruff) run: ruff check . - name: 정적 타입 검사 (MyPy) run: mypy src/ --ignore-missing-imports - name: 테스트 실행 (통합 테스트 자동 Skip 포함) run: pytest tests/ -v - name: 테스트 커버리지 리포트 생성 run: pytest --cov=src --cov-fail-under=5 - name: 미사용 코드 검사 (Vulture) run: | pip install vulture vulture src/ --min-confidence 80