ENH: add support for multiline and multipolygon inputs to extend_to_geometry #736
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
# This workflow will install Python dependencies, run tests and lint with a single version of Python | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions | |
name: Tests | |
on: | |
push: | |
branches: [ main, 0.** ] | |
pull_request: | |
branches: [ main, 0.** ] | |
schedule: | |
- cron: "0 0 * * *" | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: true | |
jobs: | |
Linting: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-python@v5 | |
with: | |
python-version: "3.11" | |
- uses: pre-commit/action@v3.0.1 | |
Test: | |
needs: Linting | |
name: ${{ matrix.os }} - ${{ matrix.env }} (python ${{ matrix.python }}) | |
timeout-minutes: 10 | |
runs-on: ${{ matrix.os }} | |
defaults: | |
run: | |
shell: bash -l {0} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
dev: [false] | |
python: ["3.9", "3.10", "3.11", "3.12"] | |
env: ["latest"] | |
include: | |
- env: minimal-pygeos | |
os: ubuntu-latest | |
dev: false | |
python: "3.9" | |
- env: latest-no-optional-deps | |
os: ubuntu-latest | |
dev: false | |
python: "3.11" | |
- env: latest | |
os: macos-latest | |
dev: false | |
python: "3.11" | |
- env: latest | |
os: windows-latest | |
dev: false | |
python: "3.11" | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install Conda environment with Micromamba | |
uses: mamba-org/setup-micromamba@v1 | |
with: | |
micromamba-version: '1.4.9-0' | |
environment-file: ci/envs/${{ matrix.env }}.yml | |
create-args: >- | |
python=${{ matrix.python }} | |
${{ matrix.extra }} | |
- name: Test | |
run: | | |
pytest --color=yes --cov=pygeoops --cov-append --cov-report term-missing --cov-report xml tests/ | |
- uses: codecov/codecov-action@v4 | |