Enhance Justfile and pyproject.toml for improved formatting and documentation links #211
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: Pull Request | |
| on: pull_request | |
| concurrency: | |
| group: ${{ github.event.pull_request.number }}-${{ github.workflow }} | |
| cancel-in-progress: true | |
| jobs: | |
| test: | |
| name: Pytest | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: extractions/setup-just@v3 | |
| - uses: astral-sh/setup-uv@v6 | |
| - name: Setup Docker Compose | |
| uses: KengoTODA/actions-setup-docker-compose@main | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: Run pytest | |
| run: just pytest | |
| ruff: | |
| name: Ruff and MyPy | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: extractions/setup-just@v3 | |
| - uses: astral-sh/setup-uv@v6 | |
| - name: Run ruff checks | |
| run: just check | |
| - name: Run mypy checks | |
| run: just mypy |