Skip to content

Commit

Permalink
Merge branch '17-caceres-1' of https://github.com/senzing-garage/sz-s…
Browse files Browse the repository at this point in the history
…dk-java into 17-caceres-1
  • Loading branch information
barrycaceres committed Aug 19, 2024
2 parents f17ff5a + 6fff691 commit 1c7356f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/maven-darwin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:

- name: Build with Maven
run: |
mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Pjacoco -Djacoco.haltOnFailure=false -Djacoco.ignoreFailture=true -Dsenzing.support.dir="/opt/senzing/data"
mvn clean install -B -Dorg.slf4j.simpleLogger.log.org.apache.maven.cli.transfer.Slf4jMavenTransferListener=warn -Pjacoco -Djacoco.haltOnFailure=false -Djacoco.ignoreFailture=true -Dsenzing.support.dir="/opt/senzing/er/data"
- name: Jacoco Report to PR
id: jacoco
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/maven-linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
- name: Jacoco Report to PR
id: jacoco
if: github.event_name == 'pull_request'
uses: madrapps/[email protected]
with:
paths: ${{ github.workspace }}/target/site/**/*.xml
Expand All @@ -62,7 +63,7 @@ jobs:
fail-emoji: ':red_circle:'

- name: Fail PR if overall coverage is less than 80%
if: ${{ steps.jacoco.outputs.coverage-overall < 80.0 }}
if: ${{ github.event_name == 'pull_request' && steps.jacoco.outputs.coverage-overall < 80.0 }}
uses: actions/github-script@v6
with:
script: |
Expand Down

0 comments on commit 1c7356f

Please sign in to comment.