Closed eriknw closed 1 year ago
Would love it if GA supported graceful exit/cancellation of a job: https://github.com/actions/runner/issues/662 and https://github.com/orgs/community/discussions/27174
Closing. I don't think this scales well. I would rather run a fixed number of jobs--such as one per Python version--then randomize OS and also randomize version of python-graphblas
.
This is a low-tech "hack" to save CI resources. I don't think we have a particularly strong dependency on Python version or OS, so it feels wasteful to test against the full matrix every time. Skipping some randomly still gives us an eventual guarantee that we'll catch an unlikely bug that e.g. only occurs on Windows on Python 3.9.
An alternative approach could be to randomly choose an OS, then run all Python versions with that OS for a single CI run (b/c I suspect we're more likely to break b/c of Python version instead of OS, but I don't really know).