[GH-2545] Add ST_Collect_Agg aggregate function #3678
Workflow file for this run
This file contains hidden or 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
| # Licensed to the Apache Software Foundation (ASF) under one | |
| # or more contributor license agreements. See the NOTICE file | |
| # distributed with this work for additional information | |
| # regarding copyright ownership. The ASF licenses this file | |
| # to you under the Apache License, Version 2.0 (the | |
| # "License"); you may not use this file except in compliance | |
| # with the License. You may obtain a copy of the License at | |
| # | |
| # http://www.apache.org/licenses/LICENSE-2.0 | |
| # | |
| # Unless required by applicable law or agreed to in writing, | |
| # software distributed under the License is distributed on an | |
| # "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY | |
| # KIND, either express or implied. See the License for the | |
| # specific language governing permissions and limitations | |
| # under the License. | |
| name: Python build extension | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - 'common/**' | |
| - 'spark/**' | |
| - 'spark-shaded/**' | |
| - 'pom.xml' | |
| - 'python/**' | |
| - '.github/workflows/python-extension.yml' | |
| pull_request: | |
| branches: | |
| - '*' | |
| paths: | |
| - 'common/**' | |
| - 'spark/**' | |
| - 'spark-shaded/**' | |
| - 'pom.xml' | |
| - 'python/**' | |
| - '.github/workflows/python-extension.yml' | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: ${{ github.ref != 'refs/heads/master' }} | |
| jobs: | |
| build: | |
| strategy: | |
| matrix: | |
| os: ['ubuntu-latest', 'windows-latest', 'macos-15'] | |
| python: ['3.10', '3.9', '3.8'] | |
| runs-on: ${{ matrix.os }} | |
| defaults: | |
| run: | |
| shell: bash | |
| working-directory: python | |
| steps: | |
| - uses: actions/checkout@v5 | |
| - uses: actions/setup-python@v6 | |
| with: | |
| python-version: ${{ matrix.python }} | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| - name: Install dependencies (dev) | |
| run: | | |
| uv sync | |
| - name: Build extension (explicit) | |
| run: | | |
| uv pip install -e . | |
| - name: Run tests | |
| run: | | |
| uv run pytest tests/utils/test_geomserde_speedup.py | |
| - name: Install pip | |
| run: uv pip install pip | |
| - name: Run tests on Shapely 2 | |
| run: | | |
| uv add "shapely~=2.0" | |
| uv run pytest tests/utils/test_geomserde_speedup.py | |
| - name: Run tests on Shapely 1.8 | |
| run: | | |
| uv add "shapely~=1.8" | |
| uv run pytest tests/utils/test_geomserde_speedup.py | |
| - name: Install from sdist | |
| run: | | |
| uv build | |
| uv pip install dist/*sedona-*.tar.gz --force-reinstall |