N-Wouda / ALNS

Adaptive large neighbourhood search (and more!) in Python.
https://alns.readthedocs.io/en/latest/
MIT License
447 stars 124 forks source link

Tinker with caching in CI #119

Closed N-Wouda closed 1 year ago

N-Wouda commented 1 year ago

This PR closes #108.

codecov[bot] commented 1 year ago

Codecov Report

Merging #119 (7b2c3ef) into master (795f700) will not change coverage. The diff coverage is n/a.

@@            Coverage Diff            @@
##            master      #119   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           28        28           
  Lines          668       668           
=========================================
  Hits           668       668           

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more

N-Wouda commented 1 year ago

This reduces build times from ~10min to <1min, by caching pre-commit and the poetry dependencies. Poetry dependencies are cached temporarily, and will update at least every month (or whenever pyproject.toml changes).