Update PaperSeek to v0.3.0 with recoverable search planning #136
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] | |
| paths-ignore: | |
| - "docs/**" | |
| - "README.md" | |
| - "README.en.md" | |
| - "package.json" | |
| - "package-lock.json" | |
| - ".github/workflows/docs.yml" | |
| pull_request: | |
| branches: [main] | |
| paths-ignore: | |
| - "docs/**" | |
| - "README.md" | |
| - "README.en.md" | |
| - "package.json" | |
| - "package-lock.json" | |
| - ".github/workflows/docs.yml" | |
| jobs: | |
| test: | |
| name: Python ${{ matrix.python-version }} | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| python-version: ["3.10", "3.11", "3.12"] | |
| steps: | |
| - name: Check out repository | |
| uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install package | |
| run: | | |
| python -m pip install --upgrade pip | |
| python -m pip install -e ".[dev]" | |
| - name: Compile Python | |
| run: python -m compileall -q paperseek skills/paperseek/scripts | |
| - name: Run tests | |
| run: python -m unittest discover -s tests | |
| - name: Check JavaScript syntax | |
| if: matrix.python-version == '3.12' | |
| run: node --check paperseek/static/app.js | |
| - name: Build wheel | |
| if: matrix.python-version == '3.12' | |
| run: python -m pip wheel . -w dist --no-deps |