Skip to content

up

up #112

Workflow file for this run

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