Skip to content

Merge pull request #115 from Onlineberatung/develop #406

Merge pull request #115 from Onlineberatung/develop

Merge pull request #115 from Onlineberatung/develop #406

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