build(deps): bump org.apache.maven.plugins:maven-dependency-plugin from 3.8.0 to 3.8.1 #1058
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 CI | |
on: | |
push: | |
branches: | |
- '5.0' | |
pull_request: | |
branches: | |
- '5.0' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
python-version: [ "3.9", "3.10", "3.11", "3.12", "3.13" ] | |
neo4j-version: [ "4.4", "5" ] | |
spark-version: | |
- { short: "3", ext: "3.4.3", scala: "2.12" } | |
- { short: "3", ext: "3.5.2", scala: "2.12" } | |
exclude: | |
- python-version: "3.13" | |
spark-version: { short: "3", ext: "3.4.3", scala: "2.12" } | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Python ${{ matrix.python-version }} | |
uses: actions/setup-python@v5 | |
with: | |
python-version: ${{ matrix.python-version }} | |
- name: Set up JDK 11 | |
uses: actions/setup-java@v4 | |
with: | |
java-version: 11 | |
distribution: 'temurin' | |
- name: Cache Maven packages | |
uses: actions/cache@v4 | |
with: | |
path: ~/.m2 | |
key: ${{ runner.os }}-m2-${{ hashFiles('**/pom.xml') }} | |
restore-keys: ${{ runner.os }}-m2 | |
- name: Install dependencies | |
run: | | |
python -m pip install --upgrade pip | |
pip install six tzlocal==2.1 | |
pip install pyspark==${{ matrix.spark-version.ext }} "testcontainers[neo4j]" | |
- name: Build artifact | |
env: | |
CI: true | |
run: | | |
./maven-release.sh package ${{ matrix.spark-version.scala }} | |
- name: Run tests for Spark ${{ matrix.spark-version.ext }} and Neo4j ${{ matrix.neo4j-version }} | |
run: | | |
project_version="$(mvn help:evaluate -Dexpression="project.version" --quiet -DforceStdout)" | |
cd ./scripts/python | |
python test_spark.py "${{ matrix.spark-version.short }}" "${{ matrix.spark-version.scala }}" "${{ matrix.neo4j-version }}" "${project_version}" |