split out ruff config; apply it to project #37
Workflow file for this run
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 | |
| on: | |
| push: | |
| branches: | |
| - main | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Set up Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install dependencies | |
| run: | | |
| pipx install uv | |
| uv sync --group dev | |
| pipx install rust-just | |
| - name: Run linters | |
| run: just lint | |
| - name: Check types | |
| run: just typing | |
| - name: Run pytest | |
| run: just test | |
| - name: Generate test coverage | |
| run: just cov |