| 1 |
name: Python tests |
| 2 |
|
| 3 |
on: |
| 4 |
- push |
| 5 |
- pull_request |
| 6 |
|
| 7 |
jobs: |
| 8 |
build: |
| 9 |
runs-on: ubuntu-24.04 |
| 10 |
strategy: |
| 11 |
matrix: |
| 12 |
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13", "3.14"] |
| 13 |
|
| 14 |
steps: |
| 15 |
- uses: actions/checkout@v6 |
| 16 |
- name: Set up Python ${{ matrix.python-version }} |
| 17 |
uses: actions/setup-python@v6 |
| 18 |
with: |
| 19 |
python-version: ${{ matrix.python-version }} |
| 20 |
allow-prereleases: true |
| 21 |
- name: Install dependencies |
| 22 |
run: | |
| 23 |
python -m pip install --upgrade pip |
| 24 |
pip install mock ruff setuptools mypy pytest polib types-polib |
| 25 |
- name: Test |
| 26 |
run: ./code-check.sh |