up #121
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |