Check for non-numeric keys in value_map in reclassify raster function #419 #760
Workflow file for this run
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: Python distributions | |
on: [push, pull_request] | |
jobs: | |
build-wheels: | |
name: Wheel | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [windows-latest, macos-latest] | |
python-version: [3.9, "3.10", "3.11", "3.12", "3.13"] | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Fetch all history so that setuptools_scm can build the correct version string. | |
fetch-depth: 0 | |
- name: Fetch git tags | |
run: git fetch origin +refs/tags/*:refs/tags/* | |
- name: Set up python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Install dependencies | |
run: python -m pip install build | |
- name: Build wheel | |
run: python -m build --wheel | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Wheel for ${{ matrix.os }} ${{ matrix.python-version }} | |
path: dist | |
build-sdist: | |
name: Source Dist | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
# Fetch all history so that setuptools_scm can build the correct version string. | |
fetch-depth: 0 | |
- name: Fetch git tags | |
run: git fetch origin +refs/tags/*:refs/tags/* | |
- name: Set up python | |
uses: actions/setup-python@v5 | |
with: | |
python-version: 3.13 | |
- name: Install dependencies | |
run: python -m pip install build | |
- name: Build source distribution | |
run: python -m build --sdist | |
- uses: actions/upload-artifact@v4 | |
with: | |
name: Source distribution | |
path: dist |