@@ -2,23 +2,15 @@ name: pygambit Python extension
22
33on :
44 push :
5- paths-ignore :
6- - ' doc/**'
7- - ' .github/ISSUE_TEMPLATE/**'
8- - ' README.md'
95 pull_request :
10- paths-ignore :
11- - ' doc/**'
12- - ' .github/ISSUE_TEMPLATE/**'
13- - ' README.md'
146
157jobs :
168 linux :
179 runs-on : ubuntu-latest
1810 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
1911 strategy :
2012 matrix :
21- python-version : ['3.9 ', '3.13 ']
13+ python-version : ['3.10 ', '3.14 ']
2214
2315 steps :
2416 - uses : actions/checkout@v5
2921 - name : Set up dependencies
3022 run : |
3123 python -m pip install --upgrade pip
32- pip install setuptools build cython pytest pytest-skip-slow wheel lxml numpy scipy nbformat nbclient ipykernel
24+ pip install setuptools build cython wheel
25+ pip install -r tests/requirements.txt
26+ pip install -r doc/requirements.txt
3327 - name : Build source distribution
3428 run :
3529 python -m build
@@ -38,20 +32,14 @@ jobs:
3832 cd dist
3933 pip install -v pygambit*.tar.gz
4034 - name : Run tests
41- run : |
42- if [ "${{ matrix.python-version }}" = "3.9" ]; then
43- # Python 3.9 on linux skips the notebook execution test (notebooks may require newer kernels/deps)
44- pytest -q -k 'not test_execute_notebook'
45- else
46- pytest
47- fi
35+ run : pytest --run-tutorials
4836
4937 macos-13 :
50- runs-on : macos-13
38+ runs-on : macos-14
5139 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
5240 strategy :
5341 matrix :
54- python-version : ['3.13 ']
42+ python-version : ['3.14 ']
5543
5644 steps :
5745 - uses : actions/checkout@v4
@@ -62,19 +50,20 @@ jobs:
6250 - name : Set up dependencies
6351 run : |
6452 python -m pip install --upgrade pip
65- pip install cython pytest pytest-skip-slow wheel lxml numpy scipy nbformat nbclient ipykernel
53+ pip install setuptools build cython wheel
54+ pip install -r tests/requirements.txt
6655 - name : Build extension
6756 run : |
6857 python -m pip install -v .
6958 - name : Run tests
7059 run : pytest
7160
7261 macos-14 :
73- runs-on : macos-14
62+ runs-on : macos-15
7463 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
7564 strategy :
7665 matrix :
77- python-version : ['3.13 ']
66+ python-version : ['3.14 ']
7867
7968 steps :
8069 - uses : actions/checkout@v4
@@ -85,19 +74,21 @@ jobs:
8574 - name : Set up dependencies
8675 run : |
8776 python -m pip install --upgrade pip
88- pip install cython pytest pytest-skip-slow wheel lxml numpy scipy nbformat nbclient ipykernel
77+ pip install setuptools build cython wheel
78+ pip install -r tests/requirements.txt
79+ pip install -r doc/requirements.txt
8980 - name : Build extension
9081 run : |
9182 python -m pip install -v .
9283 - name : Run tests
93- run : pytest
84+ run : pytest --run-tutorials
9485
9586 windows :
9687 runs-on : windows-latest
9788 if : github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name
9889 strategy :
9990 matrix :
100- python-version : ['3.13 ']
91+ python-version : ['3.14 ']
10192
10293 steps :
10394 - uses : actions/checkout@v5
@@ -108,9 +99,11 @@ jobs:
10899 - name : Set up dependencies
109100 run : |
110101 python -m pip install --upgrade pip
111- pip install cython pytest pytest-skip-slow wheel lxml numpy scipy nbformat nbclient ipykernel
102+ pip install setuptools build cython wheel
103+ pip install -r tests/requirements.txt
104+ pip install -r doc/requirements.txt
112105 - name : Build extension
113106 run : |
114107 python -m pip install -v .
115108 - name : Run tests
116- run : pytest
109+ run : pytest --run-tutorials
0 commit comments