Skip to content

local spark ppl testing documentation (#902) #390

local spark ppl testing documentation (#902)

local spark ppl testing documentation (#902) #390

name: CI
on:
pull_request:
push:
jobs:
build:
strategy:
fail-fast: false
matrix:
entry:
- { os: ubuntu-latest, java: 11 }
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
distribution: 'temurin'
java-version: 11
- name: Style check
run: sbt scalafmtCheckAll
- name: Set SBT_OPTS
# Needed to extend the JVM memory size to avoid OutOfMemoryError for HTML test report
run: echo "SBT_OPTS=-Xmx2G" >> $GITHUB_ENV
- name: Integ Test
run: sbt integtest/integration
- name: Upload test report
if: always() # Ensures the artifact is saved even if tests fail
uses: actions/upload-artifact@v3
with:
name: test-reports
path: target/test-reports # Adjust this path if necessary