Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
context
It all started when I realized 2 things:
objectives
The main objectives of this huge PR are:
sepal-ui
foldercontent
In the end I did way much more things than expected, I'll try to be as exhaustive as possible to make the review easier:
EARHENGINE_TOKEN
in the Github action secrets and make sureinit_ee
could pick it up.conftest.py
so that it creates all the needed assets in a specific folder_hash
for all the assets so that tests can be run in parallel. if not some names would be conflicting everywhere.ee.credentials
to skip gee-related testsaoi_model
andreclassify_model
so that gee and local behavior are tested separatelypytest-sugar
,pytest-icdiff
andpytest-instafail
(only used in the github workflow)add
method)test_decorator.py
fileside notes
related issues
they are never completely solved but that's a good introduction
#562
#621
#626
#630
conclusion
Happy to hear feedback but as it's not changing any of the lib behavior I'll try to merge it as soon as possible to start follow-up PR