-
Notifications
You must be signed in to change notification settings - Fork 24
38 lines (32 loc) · 923 Bytes
/
run-tests.yml
File metadata and controls
38 lines (32 loc) · 923 Bytes
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
31
32
33
34
35
36
37
38
# This workflow will build a Java project with Maven
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
name: Tests
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
fail-fast: false
max-parallel: 2
matrix:
jdk: ["8", "11", "17", "21"]
steps:
- uses: actions/checkout@v4
- name: Set up JDK
uses: actions/setup-java@v4
with:
java-version: ${{ matrix.jdk }}
distribution: 'temurin'
cache: 'maven'
- name: MVN Install
run: mvn install -DskipTests=true -Dmaven.javadoc.skip=true -Dgpg.skip -B -V
- name: Build
run: mvn clean compile -U
- name: Unit Tests
run: mvn test -Punit-tests
- name: Integration Tests
run: mvn test -Pintegration-tests