xcube-dev / xcube

xcube is a Python package for generating and exploiting data cubes powered by xarray, dask, and zarr.
https://xcube.readthedocs.io/
MIT License
201 stars 20 forks source link

Speed up github workflow by enabling numba jit and test coverage includes only xcube package #980

Closed konstntokas closed 5 months ago

konstntokas commented 6 months ago
  1. Closes #946 unit tests take ~5min which is comparable to local machine (https://github.com/xcube-dev/xcube/actions/runs/9095416416/job/24998584637)
  2. Text coverage includes only the xcube package. Note that the text coverage decreases, since the the test folder is not considered anymore in the test coverage report.
  3. github actions are updated.

Checklist:

konstntokas commented 6 months ago

Should we remove one of the platforms in appveyor to double the speed, as @pont-us suggested? (https://ci.appveyor.com/project/bcdev/xcube/builds/49819045)

pont-us commented 6 months ago

Should we remove one of the platforms in appveyor to double the speed, as @pont-us suggested? (https://ci.appveyor.com/project/bcdev/xcube/builds/49819045)

I think this would make sense, since with the speed-up GHA should now be faster than AppVeyor on two platforms. In that case it probably makes the most sense to disable Ubuntu2204 and keep macos, since we're using Ubuntu on GHA. I'd just comment out the Ubuntu2204 item in the "image" section and keep the rest of the configuration in place in case we ever want to re-enable it.