fix chunk overlap and source quote hallucination guard #124
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] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| - name: Set up Python 3.11 | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Install dependencies | |
| run: | | |
| pip install -e ".[dev,all]" | |
| python -m nltk.downloader punkt_tab | |
| - name: Lint with ruff | |
| run: | | |
| ruff check . | |
| ruff format --check . | |
| - name: Run unit tests | |
| run: pytest tests/unit/ -v | |
| - name: Run integration tests | |
| run: pytest tests/integration/ -v |