Skip to content

[SEDONA-537] Add pre-commit hook requirements-txt-fixer #67

[SEDONA-537] Add pre-commit hook requirements-txt-fixer

[SEDONA-537] Add pre-commit hook requirements-txt-fixer #67

Workflow file for this run

name: Docker build
on:
push:
branches:
- master
paths:
- 'docker/**'
pull_request:
branches:
- '*'
paths:
- 'docker/**'
env:
MAVEN_OPTS: -Dmaven.wagon.httpconnectionManager.ttlSeconds=60
permissions:
contents: read
jobs:
build:
strategy:
fail-fast: true
matrix:
os: ['ubuntu-latest', 'macos-latest']
include:
- spark: 3.4.1
sedona: 1.4.1
- spark: 3.4.1
sedona: latest
- spark: 3.3.2
sedona: latest
runs-on: ${{ matrix.os }}
defaults:
run:
shell: bash
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'zulu'
java-version: 11
- name: Cache Maven packages
uses: actions/cache@v3
with:
path: ~/.m2
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-m2
- name: Setup docker (missing on MacOS)
if: runner.os == 'macos'
run: |
brew install docker
colima start
- env:
SPARK_VERSION: ${{ matrix.spark }}
SEDONA_VERSION: ${{ matrix.sedona }}
run: ./docker/sedona-spark-jupyterlab/build.sh ${SPARK_VERSION} ${SEDONA_VERSION}