-
Notifications
You must be signed in to change notification settings - Fork 20
51 lines (42 loc) · 1.09 KB
/
ci.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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
name: CI Build
on:
pull_request:
branches:
- "**"
jobs:
build:
name: Maven Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: "temurin"
- name: Build with Maven
run: mvn verify --file skill-tree/pom.xml -Pgit-build-profile -Dskip-tests=true
unit-test:
name: Unit Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: "temurin"
- name: Unit Test
run: mvn test --file skill-tree/pom.xml
integration-test:
name: Integration Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Java 17
uses: actions/setup-java@v3
with:
java-version: 17
distribution: "temurin"
- name: Integration Test
run: mvn verify --file skill-tree/pom.xml -Dskip-ut=true