diff --git a/.github/workflows/testing-from-build.yml b/.github/workflows/testing-from-build.yml index 61b6c2e33b..647b3897ff 100644 --- a/.github/workflows/testing-from-build.yml +++ b/.github/workflows/testing-from-build.yml @@ -47,15 +47,12 @@ jobs: pwd ls -al | grep 'coverage' - - name: Publish Coverage Report to Pull Request - uses: 5monkeys/cobertura-action@master + - name: Coverage Action + if: github.event_name == 'pull_request' + uses: orgoro/coverage@v3.1 with: - path: ./coverage.xml - minimum_coverage: 85 - skip_covered: true # Set to true to remove 100% covered from report - fail_below_threshold: false # Fails the action if 90% threshold is not met - show_missing: true - repo_token: ${{ secrets.GITHUB_TOKEN }} + coverageFile: ./coverage.xml + token: ${{ secrets.GITHUB_TOKEN }} # a11y-testing: # runs-on: ubuntu-latest diff --git a/.github/workflows/testing-from-ghcr.yml b/.github/workflows/testing-from-ghcr.yml index 98379c5a11..009a390b85 100644 --- a/.github/workflows/testing-from-ghcr.yml +++ b/.github/workflows/testing-from-ghcr.yml @@ -49,15 +49,12 @@ jobs: pwd ls -al | grep 'coverage' - - name: Publish Coverage Report to Pull Request - uses: 5monkeys/cobertura-action@master + - name: Coverage Action + if: github.event_name == 'pull_request' + uses: orgoro/coverage@v3.1 with: - path: ./coverage.xml - minimum_coverage: 85 - skip_covered: true # Set to true to remove 100% covered from report - fail_below_threshold: false # Fails the action if 90% threshold is not met - show_missing: true - repo_token: ${{ secrets.GITHUB_TOKEN }} + coverageFile: ./coverage.xml + token: ${{ secrets.GITHUB_TOKEN }} # a11y-testing: # runs-on: ubuntu-latest