Merge pull request #119 from Onlineberatung/develop #413
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: Feature Branch | |
on: | |
push: | |
branches-ignore: | |
- "master" | |
- "develop" | |
jobs: | |
test: | |
name: Build and run unit tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup JVM | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 11.0.10 | |
java-package: jdk | |
architecture: x64 | |
- name: Caching maven dependencies | |
uses: actions/cache@v2 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Maven Package | |
run: mvn -B -Pprod clean package -Dskip.unit-tests=true -Dskip.integration-tests=true | |
- name: Maven Verify | |
run: mvn -B -Pprod clean verify -DtrimStackTrace=false |