fix: P0 reindex deadlock (regression ac6e5ba0e P1-3) + z.ai review 16… #201
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 | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| test: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest] | |
| # P2-16 audit: requires-python = ">=3.10" — 3.10 добавлен в matrix | |
| # (в т.ч. для регрессий wrong-loop на 3.10, см. P3-12) | |
| python-version: ["3.10", "3.11", "3.12"] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v5 # P2-16 audit: v4 использует Node 20 (deprecated) | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install system dependencies (Linux) | |
| if: runner.os == 'Linux' | |
| run: | | |
| sudo apt-get update -qq | |
| sudo apt-get install -y -qq libomp-dev # OpenMP для onnxruntime | |
| - name: Install project | |
| run: | | |
| python -m pip install --upgrade pip | |
| # Без openvino и lancedb GPU-зависимостей — только CPU | |
| pip install -e ".[dev]" | |
| - name: Lint (ruff) | |
| run: ruff check src/ tests/ | |
| - name: Check version consistency | |
| run: python scripts/bump_version.py --check | |
| - name: Full test suite (no filters) | |
| run: python -m pytest tests/ -q --tb=short -m 'not slow and not benchmark' | |
| timeout-minutes: 10 | |
| clean-state: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v5 # P2-16 audit: v4 использует Node 20 (deprecated) | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.12" | |
| - name: Verify clean state (no self-clone) | |
| run: bash scripts/verify_clean_state.sh --no-clone "${{ github.repository }}" | |
| timeout-minutes: 15 |