Enhanced test to run faster #133
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: Branch CI | |
on: | |
push: | |
paths-ignore: | |
- '.github/workflows/**' | |
- '*.md' | |
- '*.txt' | |
branches-ignore: | |
- 'release*' | |
jobs: | |
build: | |
name: Branch CI | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.m2/repository | |
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }} | |
restore-keys: | | |
${{ runner.os }}-maven- | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
server-id: github | |
server-username: GITHUB_ACTOR | |
server-password: GITHUB_TOKEN | |
- name: Maven Build | |
run: mvn clean install -DskipTests=true -Dmaven.javadoc.skip=true -Ddockerfile.skip=true -B -V | |
env: | |
GITHUB_TOKEN: ${{ secrets.ORGANIZATION_TOKEN }} | |
- name: Maven Verify | |
run: | | |
sudo echo "127.0.0.1 $(eval hostname)" | sudo tee -a /etc/hosts | |
mvn verify -B |