IS-160 Added fail-fast config setting for metadata providers #187
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: Code coverage | |
on: [ pull_request ] | |
jobs: | |
build: | |
name: Code coverage | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up JDK 17 | |
uses: actions/setup-java@v2 | |
with: | |
java-version: '17' | |
distribution: 'adopt' | |
- name: Build with Maven | |
run: mvn --batch-mode --update-snapshots verify | |
- name: Add code coverage to pull request (core) | |
uses: madrapps/[email protected] | |
with: | |
paths: >- | |
${{ github.workspace }}/core/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/authn/base/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/authn/saml/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/protocol/dss-ext11/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/audit/base/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/audit/actuator/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/signhandler/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/keycert/base/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/keycert/simple/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/keycert/cmc/target/site/jacoco/jacoco.xml, | |
${{ github.workspace }}/engine/target/site/jacoco/jacoco.xml | |
token: ${{ secrets.GITHUB_TOKEN }} | |
min-coverage-overall: 60 | |
min-coverage-changed-files: 60 |