| 1 |
name: run pull request CI |
| 2 |
|
| 3 |
on: |
| 4 |
schedule: |
| 5 |
- cron: '0 12 * * *' # daily ~8am est |
| 6 |
workflow_dispatch: |
| 7 |
pull_request: |
| 8 |
|
| 9 |
jobs: |
| 10 |
unit-tests: |
| 11 |
runs-on: "ubuntu-22.04" |
| 12 |
timeout-minutes: 10 |
| 13 |
strategy: |
| 14 |
matrix: |
| 15 |
python: ["3.10", "3.11", "3.12", "3.13"] |
| 16 |
command: ["py", "scaffolds", "sqlalchemy-1.4", "sqlalchemy-2"] |
| 17 |
|
| 18 |
steps: |
| 19 |
- uses: actions/checkout@v4 |
| 20 |
- name: setup Python |
| 21 |
uses: actions/setup-python@v5 |
| 22 |
with: |
| 23 |
python-version: ${{ matrix.python }} |
| 24 |
- name: install tox |
| 25 |
run: pip install tox |
| 26 |
- name: run tox unit tests |
| 27 |
run: tox -e ${{ matrix.command }} |