| 1 |
name: Unit Tests |
| 2 |
|
| 3 |
on: |
| 4 |
- push |
| 5 |
- pull_request |
| 6 |
|
| 7 |
jobs: |
| 8 |
build: |
| 9 |
|
| 10 |
runs-on: ubuntu-latest |
| 11 |
strategy: |
| 12 |
matrix: |
| 13 |
python: ['3.10', '3.11', '3.12', '3.13', '3.14', 'pypy3.11'] |
| 14 |
|
| 15 |
steps: |
| 16 |
- uses: actions/checkout@v6 |
| 17 |
- name: Setup Python |
| 18 |
uses: actions/setup-python@v6 |
| 19 |
with: |
| 20 |
python-version: ${{ matrix.python }} |
| 21 |
- name: Install Dependencies |
| 22 |
run: pip install tox |
| 23 |
- name: Run Tox Flask==3.x |
| 24 |
run: tox -e py |
| 25 |
- name: Run Tox Flask==2.1 |
| 26 |
run: tox -e flask21 |
| 27 |
- name: Run Tox Flask==2.x |
| 28 |
run: tox -e flask2x |