Skip to content

Commit 7a3fea6

Browse files
committed
Add unit tests for spark 3.5 profile
1 parent 252f266 commit 7a3fea6

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

.github/workflows/java.yml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,32 @@ jobs:
6060
- name: Test
6161
working-directory: ./java
6262
run: mvn clean test
63+
64+
unit_tests_spark35:
65+
name: Unit Tests
66+
runs-on: ubuntu-latest
67+
68+
steps:
69+
- name: Set Timezone
70+
run: sudo timedatectl set-timezone UTC
71+
72+
- name: Checkout
73+
uses: actions/checkout@v3
74+
75+
- name: Set up JDK 8
76+
uses: actions/setup-java@v3
77+
with:
78+
java-version: "8"
79+
distribution: "adopt"
80+
81+
- name: Cache local Maven repository
82+
uses: actions/cache@v2
83+
with:
84+
path: ~/.m2/repository
85+
key: ${{ runner.os }}-maven-${{ hashFiles('java/pom.xml') }}
86+
restore-keys: |
87+
${{ runner.os }}-maven-
88+
89+
- name: Test
90+
working-directory: ./java
91+
run: mvn clean test -Pspark-3.5

0 commit comments

Comments
 (0)