Bump pulsar-io-lakehouse version to 2.10.5.15-5ce22c #792
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: lakehouse mvn build check and unit tests | |
on: | |
pull_request: | |
branches: | |
- master | |
- branch-* | |
push: | |
branches: | |
- master | |
- branch-* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: License check | |
run: mvn -ntp -B license:check | |
- name: Build cloud package with Maven skipTests | |
run: mvn clean install -ntp -B -DskipTests -P cloud | |
- name: Build with Maven skipTests | |
run: mvn clean install -ntp -B -DskipTests | |
- name: Style check | |
run: mvn -ntp -B checkstyle:check | |
- name: Spotbugs check | |
run: mvn -ntp -B spotbugs:check | |
- name: unit test after build | |
env: | |
CLOUD_BUCKET_NAME: ${{ secrets.CLOUD_BUCKET_NAME }} | |
AWS_SECRET_KEY: ${{ secrets.AWS_SECRET_KEY }} | |
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }} | |
run: mvn test -Pcloud | |
- name: package surefire artifacts | |
if: failure() | |
run: | | |
rm -rf artifacts | |
mkdir artifacts | |
find . -type d -name "*surefire*" -exec cp --parents -R {} artifacts/ \; | |
zip -r artifacts.zip artifacts | |
- uses: actions/upload-artifact@master | |
name: upload surefire-artifacts | |
if: failure() | |
with: | |
name: surefire-artifacts | |
path: artifacts.zip |