Skip to content

Merge remote-tracking branch 'origin/3.4+' into 3.4+ #896

Merge remote-tracking branch 'origin/3.4+' into 3.4+

Merge remote-tracking branch 'origin/3.4+' into 3.4+ #896

Workflow file for this run

name: Build and test
on:
push:
branches: '*'
# pull_request:
# branches: '*'
jobs:
build-all-versions:
timeout-minutes: 30
strategy:
matrix:
scala: [ "2.12.19", "2.13.13" ]
spark: [ "3.4.2", "3.5.1" ]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: adopt
java-version: 11
check-latest: true
- name: Cache Gradle packages
uses: actions/cache@v3
with:
path: |
~/.gradle/caches
~/.gradle/wrapper
~/.gradle/jdks
key: "${{ runner.os }}-gradle-spark-${{ matrix.spark }}-${{ matrix.scala }}"
restore-keys: |
${{ runner.os }}-gradle-
- name: Publish plugins to maven local
run: >
./gradlew
compiler-plugin:publishToMavenLocal
gradle-plugin:publishToMavenLocal
- name: Build with Gradle
uses: gradle/gradle-build-action@v2
with:
arguments: |
-Pspark=${{ matrix.spark }}
-Pscala=${{ matrix.scala }}
clean
test
--scan
# qodana:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v3
# - name: 'Qodana Scan'
# uses: JetBrains/qodana-action@v5.0.2
# vim: ts=2:sts=2:sw=2:expandtab