[pre-commit.ci] auto fixes from pre-commit.com hooks #28
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
name: "TestingWindows" | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
test-windows: | |
runs-on: windows-latest | |
strategy: | |
matrix: | |
python-version: ["3.12"] | |
env: | |
USE_FOLIUM: ${{ secrets.USE_FOLIUM }} | |
USE_MKDOCS: ${{ secrets.USE_MKDOCS }} | |
MAPBOX_TOKEN: ${{ secrets.MAPBOX_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install uv | |
uses: astral-sh/setup-uv@v4 | |
with: | |
version: "0.4.16" | |
enable-cache: true | |
- name: Set up Python ${{ matrix.python-version }} | |
run: uv python install ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: uv sync --python ${{ matrix.python-version }} | |
- name: Test import | |
run: | | |
uv run python -c "import geemap; print('geemap import successful')" |