Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Coverage always show 100% #51

Open
Laki7877 opened this issue Sep 30, 2021 · 1 comment
Open

Coverage always show 100% #51

Laki7877 opened this issue Sep 30, 2021 · 1 comment

Comments

@Laki7877
Copy link

Hi

I'm trying to use thin action to help me generate coverage report. But when I see the bot comment on my Pull Request I always see it 100%

CoverageTestReport

Here is my coverage.xml

https://raw.githubusercontent.com/Laki7877/grails/main/coverage.xml

and here is my action yaml examle

- name: Add coverage to PR
        id: cobertura
        uses: 5monkeys/cobertura-action@v9
        with:
          path: ${{ github.workspace }}/target/test-reports/cobertura/*.xml
          repo_token: ${{ secrets.GITHUB_TOKEN }}
          minimum_coverage: 40
          skip_covered: false
          show_line: false
          show_branch: false
          show_class_names: true
          show_missing: true
          only_changed_files: false
@syamimikhalil
Copy link

Hi. Have you tried using the latest ver (v12) or master? I had the same issue as yours, but my error was that I set the ‘skip_covered’ to true. I changed to false, and it works.

However, suggesting you on the ver since i’m using the master ver.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants