| 1 |
name: Static Analysis |
| 2 |
|
| 3 |
on: [push, pull_request] |
| 4 |
|
| 5 |
jobs: |
| 6 |
check: |
| 7 |
runs-on: ubuntu-latest |
| 8 |
strategy: |
| 9 |
fail-fast: false |
| 10 |
matrix: |
| 11 |
tox_env: |
| 12 |
- black |
| 13 |
- codespell |
| 14 |
- flake8 |
| 15 |
- mypy |
| 16 |
name: ${{ matrix.tox_env }} |
| 17 |
steps: |
| 18 |
- uses: actions/checkout@v4 |
| 19 |
- name: Setup Python "3.12" |
| 20 |
uses: actions/setup-python@v5 |
| 21 |
with: |
| 22 |
python-version: "3.12" |
| 23 |
- name: Install tox |
| 24 |
run: python -m pip install tox |
| 25 |
- name: Run tox |
| 26 |
run: python -m tox --skip-missing-interpreters false -e ${{ matrix.tox_env }} |