| 1 | name: Mypy |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | jobs: |
| 6 | build: |
| 7 | runs-on: ubuntu-latest |
| 8 | name: mypy |
| 9 | steps: |
| 10 | - uses: actions/checkout@v1 |
| 11 | - name: Set up Python 3.11 |
| 12 | uses: actions/setup-python@v1 |
| 13 | with: |
| 14 | python-version: 3.11 |
| 15 | - name: Install Dependencies |
| 16 | run: | |
| 17 | pip install mypy numpy types-pyinstaller pytest packaging |
| 18 | - name: mypy |
| 19 | run: | |
| 20 | mypy ./jpype/ ./test/jpypetest/ |