mirror of
https://github.com/panda3d/panda3d.git
synced 2026-01-06 06:59:44 -06:00
24 lines
645 B
YAML
24 lines
645 B
YAML
name: Run Mypy
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
mypy:
|
|
runs-on: ${{ matrix.os }}
|
|
strategy:
|
|
matrix:
|
|
os: [ubuntu-latest, macos-latest, windows-latest]
|
|
python-version: ['3.9', '3.13']
|
|
fail-fast: false
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Set up Python ${{ matrix.python-version }}
|
|
uses: actions/setup-python@v5
|
|
with:
|
|
python-version: ${{ matrix.python-version }}
|
|
- name: Install dependencies
|
|
run: |
|
|
python -m pip install --upgrade pip
|
|
pip install mypy==1.14.1
|
|
- name: Run mypy on direct
|
|
run: python tests/run_mypy.py
|