Add turbovec-backed retrieval for context pulling and semantic search #373
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: Validate and test | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| validate: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.11' | |
| - name: Install test dependencies | |
| run: pip install pytest | |
| - name: Validate with Python | |
| run: python3 validators/validate.py examples/*.crumb fixtures/valid fixtures/extensions | |
| - name: Validate with Node | |
| run: | | |
| for f in examples/*.crumb; do | |
| node validators/validate.js "$f" | |
| done | |
| node validators/validate.js fixtures/valid fixtures/extensions | |
| - name: Ensure invalid fixtures fail | |
| run: | | |
| python3 validators/validate.py fixtures/invalid && exit 1 || true | |
| node validators/validate.js fixtures/invalid && exit 1 || true | |
| - name: Run tests | |
| run: python3 -m pytest tests/ -v |