-
-
Notifications
You must be signed in to change notification settings - Fork 40
43 lines (34 loc) · 944 Bytes
/
server.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
name: server
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Cache .m2
uses: actions/[email protected]
with:
path: "~/.m2/repository"
key: ${{ runner.os }}-m2
- name: Setup JDK
uses: actions/setup-java@v2
with:
java-version: 11
distribution: 'adopt'
- name: Set up Maven
uses: stCarolas/setup-maven@v4
with:
maven-version: 3.6.0
- name: Install example projects
run: ./.github/install_examples.sh
shell: bash
- name: Install nopol
run: |
cd nopol
mvn clean install -DskipTests
- name: Install nopol-server
run: |
cd nopol-server
# we don't run the tests in CI, they fail maybe because of docker
mvn clean install -DskipTests