85
85
shell : bash -l {0}
86
86
strategy :
87
87
# To "stress test" in CI, set `fail-fast` to `false` and perhaps add more items to `matrix.slowtask`
88
- fail-fast : false # Every service seems super-flaky right now...
88
+ fail-fast : true
89
89
# The build matrix is [os]x[slowtask] and then randomly chooses [pyver] and [sourcetype].
90
90
# This should ensure we'll have full code coverage (i.e., no chance of getting unlucky),
91
91
# since we need to run all slow tests on Windows and non-Windoes OSes.
@@ -170,25 +170,25 @@ jobs:
170
170
nxver=$(python -c 'import random ; print(random.choice(["=2.7", "=2.8", "=3.0", "=3.1", ""]))')
171
171
yamlver=$(python -c 'import random ; print(random.choice(["=5.4", "=6.0", ""]))')
172
172
sparsever=$(python -c 'import random ; print(random.choice(["=0.13", "=0.14", ""]))')
173
- fmmver=$(python -c 'import random ; print(random.choice(["=1.4", "=1.5", "=1.6", ""]))')
173
+ fmmver=$(python -c 'import random ; print(random.choice(["=1.4", "=1.5", "=1.6", "=1.7", " "]))')
174
174
if [[ ${{ startsWith(steps.pyver.outputs.selected, '3.8') }} == true ]]; then
175
175
npver=$(python -c 'import random ; print(random.choice(["=1.21", "=1.22", "=1.23", "=1.24", ""]))')
176
176
spver=$(python -c 'import random ; print(random.choice(["=1.8", "=1.9", "=1.10", ""]))')
177
177
pdver=$(python -c 'import random ; print(random.choice(["=1.2", "=1.3", "=1.4", "=1.5", "=2.0", ""]))')
178
178
akver=$(python -c 'import random ; print(random.choice(["=1.9", "=1.10", "=2.0", "=2.1", "=2.2", ""]))')
179
179
elif [[ ${{ startsWith(steps.pyver.outputs.selected, '3.9') }} == true ]]; then
180
180
npver=$(python -c 'import random ; print(random.choice(["=1.21", "=1.22", "=1.23", "=1.24", "=1.25", ""]))')
181
- spver=$(python -c 'import random ; print(random.choice(["=1.8", "=1.9", "=1.10", ""]))')
181
+ spver=$(python -c 'import random ; print(random.choice(["=1.8", "=1.9", "=1.10", "=1.11", " "]))')
182
182
pdver=$(python -c 'import random ; print(random.choice(["=1.2", "=1.3", "=1.4", "=1.5", "=2.0", ""]))')
183
183
akver=$(python -c 'import random ; print(random.choice(["=1.9", "=1.10", "=2.0", "=2.1", "=2.2", ""]))')
184
184
elif [[ ${{ startsWith(steps.pyver.outputs.selected, '3.10') }} == true ]]; then
185
185
npver=$(python -c 'import random ; print(random.choice(["=1.21", "=1.22", "=1.23", "=1.24", "=1.25", ""]))')
186
- spver=$(python -c 'import random ; print(random.choice(["=1.8", "=1.9", "=1.10", ""]))')
186
+ spver=$(python -c 'import random ; print(random.choice(["=1.8", "=1.9", "=1.10", "=1.11", " "]))')
187
187
pdver=$(python -c 'import random ; print(random.choice(["=1.3", "=1.4", "=1.5", "=2.0", ""]))')
188
188
akver=$(python -c 'import random ; print(random.choice(["=1.9", "=1.10", "=2.0", "=2.1", "=2.2", ""]))')
189
189
else # Python 3.11
190
190
npver=$(python -c 'import random ; print(random.choice(["=1.23", "=1.24", "=1.25", ""]))')
191
- spver=$(python -c 'import random ; print(random.choice(["=1.9", "=1.10", ""]))')
191
+ spver=$(python -c 'import random ; print(random.choice(["=1.9", "=1.10", "=1.11", " "]))')
192
192
pdver=$(python -c 'import random ; print(random.choice(["=1.5", "=2.0", ""]))')
193
193
akver=$(python -c 'import random ; print(random.choice(["=1.10", "=2.0", "=2.1", "=2.2", ""]))')
194
194
fi
@@ -204,20 +204,20 @@ jobs:
204
204
# But, it's still useful for us to test with different versions!
205
205
psg=""
206
206
if [[ ${{ steps.sourcetype.outputs.selected}} == "conda-forge" ]] ; then
207
- psgver=$(python -c 'import random ; print(random.choice(["=7.4.0", "=7.4.1", "=7.4.2", "=7.4.3.0", "=7.4.3.1", "=7.4.3.2", "" ]))')
207
+ psgver=$(python -c 'import random ; print(random.choice(["=7.4.0", "=7.4.1", "=7.4.2", "=7.4.3.0", "=7.4.3.1", "=7.4.3.2"]))')
208
208
psg=python-suitesparse-graphblas${psgver}
209
209
elif [[ ${{ steps.sourcetype.outputs.selected}} == "wheel" ]] ; then
210
- psgver=$(python -c 'import random ; print(random.choice(["==7.4.3.2", "" ]))')
210
+ psgver=$(python -c 'import random ; print(random.choice(["==7.4.3.2"]))')
211
211
elif [[ ${{ steps.sourcetype.outputs.selected}} == "source" ]] ; then
212
212
# These should be exact versions
213
- psgver=$(python -c 'import random ; print(random.choice(["==7.4.0.0", "==7.4.1.0", "==7.4.2.0", "==7.4.3.0", "==7.4.3.1", "==7.4.3.2", "" ]))')
213
+ psgver=$(python -c 'import random ; print(random.choice(["==7.4.0.0", "==7.4.1.0", "==7.4.2.0", "==7.4.3.0", "==7.4.3.1", "==7.4.3.2"]))')
214
214
else
215
215
psgver=""
216
216
fi
217
217
if [[ ${npver} == "=1.25" ]] ; then
218
218
numbaver=""
219
219
if [[ ${spver} == "=1.8" ]] ; then
220
- spver=$(python -c 'import random ; print(random.choice(["=1.9", "=1.10", ""]))')
220
+ spver=$(python -c 'import random ; print(random.choice(["=1.9", "=1.10", "=1.11", " "]))')
221
221
fi
222
222
elif [[ ${npver} == "=1.24" || ${{ startsWith(steps.pyver.outputs.selected, '3.11') }} == true ]] ; then
223
223
numbaver=$(python -c 'import random ; print(random.choice(["=0.57", ""]))')
@@ -374,6 +374,9 @@ jobs:
374
374
# Tests lazy loading of lib, ffi, and NULL in gb.core
375
375
echo "from graphblas.core import base" > script.py
376
376
coverage run -a script.py
377
+ # Test another code pathway for loading lib
378
+ echo "from graphblas.core import lib" > script.py
379
+ coverage run -a script.py
377
380
rm script.py
378
381
# Tests whose coverage depend on order of tests :/
379
382
# TODO: understand why these are order-dependent and try to fix
0 commit comments