scverse / spatialdata

An open and interoperable data framework for spatial omics data
https://spatialdata.scverse.org/
BSD 3-Clause "New" or "Revised" License
174 stars 34 forks source link

Update build.yaml to use setup-python v4 #509

Closed LucaMarconato closed 1 month ago

LucaMarconato commented 1 month ago

Using setup-python v4 with pip caching. It should run noticeably faster, let's see.

We may need to upload a second commit to see the caching mechanism in action.

codecov[bot] commented 1 month ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 92.54%. Comparing base (1f74e77) to head (b84423f).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #509 +/- ## ======================================= Coverage 92.54% 92.54% ======================================= Files 43 43 Lines 5969 5969 ======================================= Hits 5524 5524 Misses 445 445 ```
LucaMarconato commented 1 month ago

Some stats on the runtimes. Running tests takes around 3-4. I see a lot of variability on the installation of packages (the run that lasted 25min was 22min of packages installation).

LucaMarconato commented 1 month ago

I had modified this on build.yaml, not on test_and_deploy.yaml. Now it's fixed.

LucaMarconato commented 1 month ago

Installing the dependencies seems to be a bit faster, but not consistently faster. Let's this out.