| 1 | name: CI |
| 2 | on: |
| 3 | push: |
| 4 | branches: |
| 5 | - master |
| 6 | pull_request: |
| 7 | branches: |
| 8 | - master |
| 9 | schedule: |
| 10 | - cron: 33 3 * * MON # Run Mondays at 03:33 UTC |
| 11 | jobs: |
| 12 | Build: |
| 13 | runs-on: ubuntu-20.04 |
| 14 | strategy: |
| 15 | matrix: |
| 16 | python-version: |
| 17 | - '3.8' |
| 18 | - '3.9' |
| 19 | - '3.10' |
| 20 | - '3.11' |
| 21 | steps: |
| 22 | - uses: actions/setup-python@v2 |
| 23 | with: |
| 24 | python-version: '${{ matrix.python-version }}' |
| 25 | - uses: actions/checkout@v2 |
| 26 | - run: pip install tox tox-gh-actions |
| 27 | - run: tox |