Improve code quality by introducing/optimising coverage reporting, typechecking, formatting, linting etc. #56
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: Checks | |
| on: | |
| pull_request: | |
| push: | |
| branches: [main] | |
| workflow_call: | |
| jobs: | |
| checks: | |
| name: Run Checks | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 2 | |
| - uses: pdm-project/setup-pdm@v4 | |
| with: | |
| cache: true | |
| - run: pdm install | |
| - run: pdm run typecheck:all | |
| - run: pdm run format --check | |
| - run: pdm run test:unit |