| 1 | name: Test |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | branches: [ master ] |
| 6 | pull_request: |
| 7 | branches: [ master ] |
| 8 | |
| 9 | jobs: |
| 10 | build: |
| 11 | runs-on: ${{ matrix.os }} |
| 12 | strategy: |
| 13 | fail-fast: false |
| 14 | matrix: |
| 15 | python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"] |
| 16 | os: [ubuntu-latest] |
| 17 | steps: |
| 18 | - name: Check out repository |
| 19 | uses: actions/checkout@v2 |
| 20 | - name: Set up Python ${{ matrix.python-version }} |
| 21 | uses: actions/setup-python@v2 |
| 22 | with: |
| 23 | python-version: ${{ matrix.python-version }} |
| 24 | - name: Run tests |
| 25 | run: python runtests.py -v |