Adding GitHub action with code coverage#2
Conversation
joshjohanning
commented
Sep 3, 2021
- adding first github action
- adding in code coverage
- updating path
- adding copy code coverage script
- updating branch, line spaces
|
Hey josh - any idea why my PR task is just being skipped entirely here? |
|
Hey @ardalis ! The only time I saw my 'add coverage PR comment' action not run was when it was just in my branch run, ie: When it was initiated as part of a Pull Request, then it ran as desired: https://github.com/joshjohanning/PrimeService-unit-testing-using-dotnet-test/runs/3510067235?check_suite_focus=true Do you have the on:
push:
branches: [ main ]
pull_request:
branches: [ main ] |
|
Thanks, I just realized the coverage was running successfully just the add PR comment failed, and it so happened that that run was triggered by my action commit, not my PR commit. Doh! It's working now, thanks for the article and assistance! |
|
Hello @joshjohanning , |
|
@YazaWainakh good question! For me, it's actually coming from my csproj file name. I renamed my project to PrimeService3.csproj, and it then changed in my output: I'm not super familiar with Scala. Perhaps log a bug report in the irongut/CodeCoverageSummary repo? |




