Coverage badge #20
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: CodeStyle | |
| on: | |
| push: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| check-and-test: | |
| runs-on: ubuntu-latest | |
| strategy: | |
| fail-fast: false | |
| name: Code style | |
| steps: | |
| #---------------------------------------------- | |
| # check-out repo and set-up python | |
| #---------------------------------------------- | |
| - uses: actions/checkout@v4 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v6 | |
| with: | |
| version: "0.9.6" | |
| #---------------------------------------------- | |
| # install | |
| #---------------------------------------------- | |
| - name: Install dependencies | |
| run: UV_PYTHON=python3.11 make sync | |
| #---------------------------------------------- | |
| # lint | |
| #---------------------------------------------- | |
| - name: Run lint | |
| run: UV_PYTHON=python3.11 make lint |