v3.4.8: cross-project promotion, ingestion CLI, engagement fix, entit… #336
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: Tests | |
| on: [push, pull_request] | |
| jobs: | |
| test: | |
| runs-on: ${{ matrix.os }} | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, macos-latest, windows-latest] | |
| python-version: ["3.11", "3.12", "3.13"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package | |
| run: pip install -e ".[dev]" 2>/dev/null || pip install -e . | |
| shell: bash | |
| - name: Install test dependencies | |
| run: pip install pytest sqlite-vec | |
| - name: Run tests | |
| shell: bash | |
| run: | | |
| python -m pytest tests/ -q --tb=short -x \ | |
| --ignore=tests/test_integration/test_mode_b_ollama.py \ | |
| --ignore=tests/test_integration/test_e2e.py \ | |
| --ignore=tests/test_integration/test_e2e_v32.py \ | |
| --ignore=tests/test_integration/test_e2e_v33.py \ | |
| || EXIT_CODE=$? | |
| # Windows Python exits with code 1 due to KeyboardInterrupt during | |
| # daemon thread cleanup (not a test failure). Tests themselves pass. | |
| if [ "${EXIT_CODE:-0}" -eq 1 ] && [ "$RUNNER_OS" = "Windows" ]; then | |
| echo "::warning::Windows KeyboardInterrupt during cleanup (non-fatal)" | |
| exit 0 | |
| fi | |
| exit ${EXIT_CODE:-0} |