Skip to content

Commit

Permalink
* Proposal for change.
Browse files Browse the repository at this point in the history
  • Loading branch information
miroslavpojer committed Aug 3, 2023
1 parent 148c856 commit a988abd
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/jacoco_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: ${{matrix.overall }}
min-coverage-changed-file: ${{ matrix.changed }}
title: JaCoCo agent module code coverage report - scala ${{ matrix.scala }}
updated-comment: true
# server module code coverage
- name: Add coverage to PR
Expand All @@ -67,7 +66,6 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
min-coverage-overall: ${{matrix.overall }}
min-coverage-changed-file: ${{ matrix.changed }}
title: JaCoCo server module code coverage report - scala ${{ matrix.scala }}
updated-comment: true
- name: Get the Coverage info
run: |
Expand All @@ -77,7 +75,7 @@ jobs:
echo "Changed Files coverage ${{ steps.jacoco-server.outputs.coverage-changed-files }}"
- name: Fail PR if changed files coverage is less than ${{ matrix.changed }}%
if: |
${{ steps.jacoco.outputs.coverage-changed-files < 80.0 }} &&
${{ steps.jacoco-agent.outputs.coverage-changed-files < 80.0 }} &&
${{ steps.jacoco-server.outputs.coverage-changed-files < 80.0 }}
uses: actions/github-script@v6
with:
Expand Down

0 comments on commit a988abd

Please sign in to comment.