Skip to content

Commit c0a3fc2

Browse files
committed
Add test run on GH action
1 parent c3c1045 commit c0a3fc2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/maven-multi-os.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ jobs:
3333
elif [[ "${{ runner.os }}" == "macOS" ]]; then
3434
mvn validate -Dos.version=osx-x86_64
3535
fi
36+
- name: Run Tests with Maven
37+
run: |
38+
if [[ "${{ runner.os }}" == "Linux" ]]; then
39+
mvn test -Dos.version=linux-x86_64
40+
elif [[ "${{ runner.os }}" == "macOS" ]]; then
41+
mvn test -Dos.version=osx-x86_64
42+
fi
3643
- name: Package with Maven (Fat JAR)
3744
run: |
3845
if [[ "${{ runner.os }}" == "Linux" ]]; then

0 commit comments

Comments
 (0)