Merge pull request #8 from mmprotest/codex/fix-readme-link-to-raglite… #17
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: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| matrix: | |
| python-version: ["3.10", "3.11"] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: ${{ matrix.python-version }} | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -e .[dev,server] | |
| - name: Lint | |
| run: | | |
| ruff check src tests | |
| black --check src tests | |
| isort --check-only src tests | |
| - name: Type check | |
| run: | | |
| mypy src | |
| - name: Tests | |
| run: | | |
| pytest -q | |
| - name: Self-test | |
| run: | | |
| raglite self-test |