-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pin deps to fix tests, ditch docker for uv in GHA #374
base: develop
Are you sure you want to change the base?
Conversation
It was only used to test the blocksize of the overviews of COGs being created, since they had used 128 as a default. However, since gdal 3.1 the default has changed to be the same as the blocksize as the main image. This should mean this is no longer and issue, and we no longer need to install gdal just to run one test.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #374 +/- ##
===========================================
+ Coverage 84.44% 84.74% +0.30%
===========================================
Files 26 26
Lines 4506 4530 +24
===========================================
+ Hits 3805 3839 +34
+ Misses 701 691 -10 ☔ View full report in Codecov by Sentry. |
@omad Not sure if it's useful, but re parallelization, we currently run our https://github.com/GeoscienceAustralia/eo-tides/blob/main/.github%2Fworkflows%2Fmain.yml#L40-L47 |
I've broken my own rule and combined a few changes in the one PR, sorry!!
gdal
as a test dependency. According to the gdal docs, what we were testing for has been remedied since version 3.1 which came out 4 years ago. Overview block size now defaults to the same size as the main images instead of 128.gdal
from testing, I can also ditchdocker
in GHA, which massively simplifies the test setup. And it's faster. Saves about 1m in GHA.pytest-xdist
, which required removing a usage ofsys.argv
from one of the data prep scripts, which was only there to give a warning about outdated usage from years ago. Test execution in GHA drops from about 4m to 2.5m.