-
Notifications
You must be signed in to change notification settings - Fork 69
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
Python/fix/raster tests #452
Merged
Merged
Changes from all commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
6446112
added back R to build automation
sllynn 19a71ec
temporarily reduced min coverage
sllynn 0c2fbe5
temporarily reduced min coverage
sllynn f6bd09c
update R `libPath`
sllynn af24a7c
install dependencies from posit public binaries
sllynn 05f3c1a
remove references to `RasterAPI`
sllynn 739c89d
added caching for slow download of Spark
sllynn c53995c
added caching for slow download of Spark
sllynn cb11c4b
updated user agent for installing from posit public binaries
sllynn 0c9610e
isolate install.packages issue
sllynn cdf762a
isolate install.packages issue
sllynn 9fcca23
isolate install.packages issue
sllynn 51145fb
isolate install.packages issue
sllynn 318ff64
isolate install.packages issue
sllynn 20c65f7
isolate install.packages issue
sllynn adfbda3
split out steps to enable caching of dependencies
sllynn db84dcb
split out steps to enable caching of dependencies
sllynn bd0f8d5
add back R tests
sllynn d5f18f4
fixed existing R tests
sllynn 1aa7bc2
testing rlib actions
sllynn 280f003
corrected typo in `build_main.yml`
sllynn 4a9e4c5
testing `use-public-rspm` flag
sllynn ec256c8
testing `use-public-rspm` flag
sllynn 0c9c598
testing `use-public-rspm` flag
sllynn a6f2fc0
removed some cruft from the R build files
sllynn 0f60feb
restored `minimum.coverage` in `pom.xml`
sllynn fc1cc74
skip coverage check if tests skipped
sllynn f0d3dd0
Merge branch 'feature/grid_tiles' of github.com:databrickslabs/mosaic…
sllynn 03d09c7
Merge branch 'main' of github.com:databrickslabs/mosaic into python/f…
sllynn 2c6e096
added python tests for some raster functions. corrected some issues e…
sllynn dff0def
change to untar procedure to skip existing files (as we expected a ze…
sllynn bb2beda
removed a stray scratch file
sllynn ea13470
added scala project changes
sllynn ece8ec1
added python tests for all non-aggregation raster functions
sllynn 96040b2
typo in setup.cfg
sllynn 6222dce
added numpy as setup requirement to make GDAL native array type work
sllynn 67f4d98
trying to fix GDAL / numpy dependency
sllynn aee46b3
fix `on` filters for automation?
sllynn fd853bb
added explicit numpy installation to GH actions
sllynn 43a7ae8
added explicit gdal deps installation to GH actions, even if tests sk…
sllynn e7e4192
added explicit gdal deps installation to GH actions, even if tests sk…
sllynn f8fb537
added explicit gdal deps installation to GH actions, even if tests sk…
sllynn 43342b5
added explicit gdal deps installation to GH actions, even if tests sk…
sllynn a4ab661
added explicit gdal deps installation to GH actions, even if tests sk…
sllynn 8734597
added explicit gdal deps installation to GH actions, even if tests sk…
sllynn e8cb0e7
added more gdal extended dependencies
sllynn ed037c7
facepalm
sllynn 1c38d55
facepalm++
sllynn 943ff63
bump spark ver for 12.2LTS and remove ubuntugis deps (test)
sllynn f5525c5
added final tests for raster aggregators
sllynn 0461940
removed st_buffer_cap_style
sllynn File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,18 +12,21 @@ runs: | |
with: | ||
java-version: '8' | ||
distribution: 'zulu' | ||
- name: Configure python interpreter | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: ${{ matrix.python }} | ||
- name: Add packaged GDAL dependencies | ||
shell: bash | ||
run : | | ||
sudo apt-get update && sudo apt-get install -y unixodbc libcurl3-gnutls libsnappy-dev libopenjp2-7 | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. @sllynn this is so much better than before! |
||
pip install databricks-mosaic-gdal==${{ matrix.gdal }} | ||
sudo tar -xf /opt/hostedtoolcache/Python/${{ matrix.python }}/x64/lib/python3.9/site-packages/databricks-mosaic-gdal/resources/gdal-${{ matrix.gdal }}-filetree.tar.xz -C / | ||
sudo tar -xhf /opt/hostedtoolcache/Python/${{ matrix.python }}/x64/lib/python3.9/site-packages/databricks-mosaic-gdal/resources/gdal-${{ matrix.gdal }}-symlinks.tar.xz -C / | ||
- name: Test and build the scala JAR - skip tests is false | ||
if: inputs.skip_tests == 'false' | ||
shell: bash | ||
run: | | ||
pip install databricks-mosaic-gdal==3.4.3 | ||
sudo tar -xf /home/runner/.local/lib/python3.8/site-packages/databricks-mosaic-gdal/resources/gdal-3.4.3-filetree.tar.xz -C / | ||
sudo tar -xhf /home/runner/.local/lib/python3.8/site-packages/databricks-mosaic-gdal/resources/gdal-3.4.3-symlinks.tar.xz -C / | ||
sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable | ||
sudo apt clean && sudo apt -o Acquire::Retries=3 update --fix-missing -y | ||
sudo apt-get -o Acquire::Retries=3 update -y | ||
sudo apt-get -o Acquire::Retries=3 install -y gdal-bin=3.4.3+dfsg-1~focal0 libgdal-dev=3.4.3+dfsg-1~focal0 python3-gdal=3.4.3+dfsg-1~focal0 | ||
sudo mvn -q clean install | ||
run: sudo mvn -q clean install | ||
- name: Build the scala JAR - skip tests is true | ||
if: inputs.skip_tests == 'true' | ||
shell: bash | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Oops, something went wrong.
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When we move up to Ubuntu 22.04 / GDAL 3.6.x we can pull this back out.