Add comprehensive test coverage to increase Python test coverage from 46% to 93.6% #60
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: Python Static Analysis | |
| on: | |
| push: | |
| branches: [ main ] | |
| paths: | |
| - '**.py' | |
| pull_request: | |
| branches: [ main ] | |
| paths: | |
| - '**.py' | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| jobs: | |
| check-static-analysis: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: 3.12 | |
| cache: 'pip' | |
| - name: Install dependencies | |
| run: | | |
| python3 -m pip install --upgrade pip | |
| python3 -m pip install -e 'src[dev]' | |
| - name: Check mypy | |
| run: | | |
| mypy . |