fractal-analytics-platform / fractal-tasks-core

Main tasks for the Fractal analytics platform
https://fractal-analytics-platform.github.io/fractal-tasks-core/
BSD 3-Clause "New" or "Revised" License
14 stars 6 forks source link

Improve Zenodo fixtures and add caching in GitHub CI #585

Closed tcompa closed 11 months ago

tcompa commented 11 months ago

Checklist before merging

github-actions[bot] commented 11 months ago

Coverage report

The coverage rate went from 90.5% to 90.5% :arrow_up: The branch rate is 84%.

None of the new lines are part of the tested code. Therefore, there is no coverage data about them.

tcompa commented 11 months ago

As shown in 4c394ed and in image the caching mechanism in GitHub actions does prevent a second download from within the pytest CI.

This means that the download times are under control, and they are visible in the GitHub CI logs, see for instance: image

This does not necessarily make test much faster, but it should greatly reduce fluctuations in their duration due to slow downloads from Zenodo.