forked from Intel-bigdata/SSM
-
Notifications
You must be signed in to change notification settings - Fork 4
30 lines (25 loc) · 912 Bytes
/
main.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
name: PR and master push checks
on:
push:
branches: [ "develop" ]
pull_request:
branches: [ "develop" ]
jobs:
build:
strategy:
matrix:
hdfs-version: [ 3.1, 3.2 ]
runs-on: ubuntu-latest
name: Build with HDFS ${{ matrix.hdfs-version }}
steps:
- uses: actions/checkout@v3
- name: Set up JDK 8
uses: actions/setup-java@v3
with:
java-version: '8'
distribution: 'temurin'
cache: maven
- name: Build with Maven
run: mvn clean install -Pdist,web,hadoop-${{ matrix.hdfs-version }} -DskipTests
- name: Run tests
run: mvn test -Dmaven.test.redirectTestOutputToFile=false -pl '!smart-zeppelin,!org.smartdata:smart-zeppelin-interpreter,!org.smartdata:smart-zeppelin-zengine,!org.smartdata:smart-zeppelin-display,!org.smartdata:smart-zeppelin-server' -am -Phadoop-${{ matrix.hdfs-version }}