Merge pull request #10 from svenruppert/develop #5
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: Build and Test | |
on: [push] | |
jobs: | |
matrix-test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
java: [ '1.8', '9', '10', '11', '12' ] | |
name: test a JDK Version | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Setup java | |
uses: actions/setup-java@v1 | |
with: | |
java-version: ${{ matrix.java }} | |
architecture: x64 | |
- run: mvn clean test --file pom.xml | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout from git | |
uses: actions/checkout@v1 | |
- name: Set up JDK 1.8 | |
uses: actions/setup-java@v1 | |
with: | |
java-version: 1.8 | |
- name: Clean - package | |
run: mvn clean package --file pom.xml | |
- name: Copy Jacoco Report | |
uses: actions/upload-artifact@master | |
with: | |
name: Jacoco Report | |
path: target/site/jacoco | |
- name: Mutation Testing | |
run: mvn pitest:mutationCoverage --file pom.xml | |
- name: Copy PiTest Report | |
uses: actions/upload-artifact@master | |
with: | |
name: Mutation Test Coverage Report | |
path: target/pit-reports | |