Repository navigation
fix: macOS 进程组清理不覆盖审查结果 #8
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: 离线契约与回归 | |
| on: | |
| push: | |
| pull_request: | |
| permissions: | |
| contents: read | |
| jobs: | |
| offline: | |
| strategy: | |
| matrix: | |
| os: [ubuntu-latest, macos-latest] | |
| python: ['3.11', '3.13'] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - run: python -m pip install pytest==8.3.4 | |
| - run: python -m pytest -q | |
| - run: python scripts/validate_local.py | |
| - run: python scripts/vendor/skill_vendor.py check --offline | |
| - run: python -m compileall -q codereview_core scripts hooks | |
| # 不安装 OCR,不配置模型密钥;CI 只做离线验证。 | |
| source-integrity: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.13' | |
| - run: python scripts/vendor/skill_vendor.py check |