Closed mtsokol closed 1 month ago
44 tests - 6 063 31 :white_check_mark: - 5 954 37s :stopwatch: - 10m 3s 1 suites ± 0 13 :zzz: - 109 1 files ± 0 0 :x: ± 0
Results for commit 2dab3d22. ± Comparison against base commit 38d1a67c.
:recycle: This comment has been updated with latest results.
Maybe we can run the test suite twice, once for Finch and once for Numba in CI, without doing the
importlib.reload(...)
magic? And provide a./test.sh
script?
Done! I run tests twice in the CI with different backends:
- name: Run tests
run: |
SPARSE_BACKEND=Numba pytest --pyargs sparse
SPARSE_BACKEND=Finch pytest --pyargs sparse/tests
For Numba we run all tests. For Finch only the common ones.
Hi @hameerabbasi,
This PR refactors
sparse
importing mechanism. It enforces backend selection at the import time and allowsfrom sparse import COO
etc. imports.