Add a notebook example for using Google basemaps (#2029) #9
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
name: Linux build | |
jobs: | |
test-ubuntu: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: ["3.8", "3.9", "3.10", "3.11"] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install GDAL | |
run: | | |
python -m pip install --upgrade pip | |
pip install --no-cache-dir Cython | |
pip install --find-links=https://girder.github.io/large_image_wheels --no-cache GDAL | |
- name: Test GDAL installation | |
run: | | |
python -c "from osgeo import gdal" | |
gdalinfo --version | |
- name: Install dependencies | |
run: | | |
pip install .[all] | |
- name: PKG-TEST | |
run: | | |
python -m unittest discover tests/ | |
env: | |
HEREMAPS_API_KEY: ${{ secrets.HEREMAPS_API_KEY }} | |
PLANET_API_KEY: ${{ secrets.PLANET_API_KEY }} | |
EARTHENGINE_TOKEN: ${{ secrets.EARTHENGINE_TOKEN }} |