@@ -46,15 +46,13 @@ jobs:
46
46
make html SPHINXOPTS="-W --keep-going"
47
47
48
48
test-build-full :
49
- name : Test examples, env with notebook and glfw
49
+ name : Test Linux, notebook + glfw
50
50
runs-on : bigmem
51
51
if : ${{ !github.event.pull_request.draft }}
52
52
strategy :
53
53
fail-fast : false
54
54
matrix :
55
55
include :
56
- - name : Test py39
57
- pyversion : ' 3.9'
58
56
- name : Test py310
59
57
pyversion : ' 3.10'
60
58
- name : Test py311
@@ -103,15 +101,13 @@ jobs:
103
101
examples/notebooks/diffs
104
102
105
103
test-build-desktop :
106
- name : Test examples, env with only glfw
104
+ name : Test Linux, only glfw
107
105
runs-on : bigmem
108
106
if : ${{ !github.event.pull_request.draft }}
109
107
strategy :
110
108
fail-fast : false
111
109
matrix :
112
110
include :
113
- - name : Test py39
114
- pyversion : ' 3.9'
115
111
- name : Test py310
116
112
pyversion : ' 3.10'
117
113
- name : Test py311
@@ -156,3 +152,87 @@ jobs:
156
152
name : screenshot-diffs
157
153
path : |
158
154
examples/desktop/diffs
155
+
156
+ # test-build-full-mac:
157
+ # name: Test Mac, notebook + glfw
158
+ # runs-on: macos-14
159
+ # if: ${{ !github.event.pull_request.draft }}
160
+ # strategy:
161
+ # fail-fast: false
162
+ # matrix:
163
+ # include:
164
+ # - name: Test py310
165
+ # pyversion: '3.10'
166
+ # - name: Test py311
167
+ # pyversion: '3.11'
168
+ # - name: Test py312
169
+ # pyversion: '3.12'
170
+ # steps:
171
+ # - uses: actions/checkout@v3
172
+ # with:
173
+ # lfs: true
174
+ # - name: Set up Python
175
+ # uses: actions/setup-python@v3
176
+ # with:
177
+ # python-version: ${{ matrix.pyversion }}
178
+ # - name: Install dev dependencies
179
+ # run: |
180
+ # python -m pip install --upgrade pip setuptools
181
+ # # remove pygfx from install_requires, we install using pygfx@main
182
+ # pip install -e ".["tests"]"
183
+ # pip install git+https://github.com/pygfx/pygfx.git@main
184
+ # - name: Show wgpu backend
185
+ # run:
186
+ # python -c "from examples.tests.testutils import wgpu_backend; print(wgpu_backend)"
187
+ # - name: Test examples
188
+ # run: |
189
+ # pytest -v examples
190
+ # pytest --nbmake examples/notebooks/
191
+ # - uses: actions/upload-artifact@v3
192
+ # if: ${{ failure() }}
193
+ # with:
194
+ # name: screenshot-diffs
195
+ # path: |
196
+ # examples/desktop/diffs
197
+ # examples/notebooks/diffs
198
+ #
199
+ # test-build-glfw-mac:
200
+ # name: Test Mac, glfw
201
+ # runs-on: macos-14
202
+ # if: ${{ !github.event.pull_request.draft }}
203
+ # strategy:
204
+ # fail-fast: false
205
+ # matrix:
206
+ # include:
207
+ # - name: Test py310
208
+ # pyversion: '3.10'
209
+ # - name: Test py311
210
+ # pyversion: '3.11'
211
+ # - name: Test py312
212
+ # pyversion: '3.12'
213
+ # steps:
214
+ # - uses: actions/checkout@v3
215
+ # with:
216
+ # lfs: true
217
+ # - name: Set up Python
218
+ # uses: actions/setup-python@v3
219
+ # with:
220
+ # python-version: ${{ matrix.pyversion }}
221
+ # - name: Install dev dependencies
222
+ # run: |
223
+ # python -m pip install --upgrade pip setuptools
224
+ # # remove pygfx from install_requires, we install using pygfx@main
225
+ # pip install -e ".["tests-desktop"]"
226
+ # pip install git+https://github.com/pygfx/pygfx.git@main
227
+ # - name: Show wgpu backend
228
+ # run:
229
+ # python -c "from examples.tests.testutils import wgpu_backend; print(wgpu_backend)"
230
+ # - name: Test examples
231
+ # run: |
232
+ # pytest -v examples
233
+ # - uses: actions/upload-artifact@v3
234
+ # if: ${{ failure() }}
235
+ # with:
236
+ # name: screenshot-diffs
237
+ # path: |
238
+ # examples/desktop/diffs
0 commit comments