python-graphblas / graphblas-algorithms

Graph algorithms written in GraphBLAS
Apache License 2.0
76 stars 4 forks source link

Skip some CI jobs to save resources #65

Closed eriknw closed 1 year ago

eriknw commented 1 year ago

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).

eriknw commented 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

eriknw commented 1 year ago

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.