| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
name: Run the test suite |
| 5 |
|
| 6 |
on: |
| 7 |
- pull_request |
| 8 |
- push |
| 9 |
|
| 10 |
jobs: |
| 11 |
run-tests: |
| 12 |
name: Run the test suite |
| 13 |
strategy: |
| 14 |
matrix: |
| 15 |
python-version: ["3.10", 3.14] |
| 16 |
runs-on: [macos-latest, ubuntu-latest] |
| 17 |
runs-on: ${{ matrix.runs-on }} |
| 18 |
steps: |
| 19 |
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 |
| 20 |
- uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 |
| 21 |
with: |
| 22 |
python-version: ${{ matrix.python-version }} |
| 23 |
- name: Run the test suite |
| 24 |
run: | |
| 25 |
set -x |
| 26 |
python3 --version |
| 27 |
pip3 install -U pip setuptools wheel |
| 28 |
pip3 install ".[tests]" # for test dependencies |
| 29 |
pip3 install -U pytest # for a test runner |
| 30 |
exec pytest -v -Wdefault -Werror |