| 1 | name: test, ubuntu |
| 2 | |
| 3 | on: [push] |
| 4 | |
| 5 | jobs: |
| 6 | build: |
| 7 | runs-on: ubuntu-latest |
| 8 | strategy: |
| 9 | max-parallel: 5 |
| 10 | fail-fast: false |
| 11 | matrix: |
| 12 | python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"] |
| 13 | steps: |
| 14 | - uses: actions/checkout@v2 |
| 15 | - name: Set up Python from Miniconda |
| 16 | uses: actions/setup-python@v2 |
| 17 | with: |
| 18 | python-version: ${{ matrix.python-version }} |
| 19 | - name: Install dependencies |
| 20 | run: | |
| 21 | echo '### which python:' |
| 22 | which python |
| 23 | echo '### printev:' |
| 24 | printenv |
| 25 | echo '###' |
| 26 | python -m pip install --upgrade pip |
| 27 | python -m pip install ".[doc,test]" |
| 28 | - name: Run test suite |
| 29 | run: | |
| 30 | cd tests |
| 31 | pytest |