-
-
Notifications
You must be signed in to change notification settings - Fork 802
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
Track Code Coverage (Coveralls.io) #416
Comments
I managed to do this for my own repo, I just need to make a module from that code and it's good to go. You can see the result here The PS script used by PowerShell/PowerShell isn't useable as it works with OpenCover to check the powershell.exe coverage and not powershell written file coverage. Can I assume you want to use the wildcard Expect a PR this week to tackle this one. |
Yeah, those are the right files.
Awesome! |
I found an issue with my module when Pester is ran outside of the repository's root folder. In that case the paths come out wrong and Coveralls can't link the files. A fix is currently building, I'll push new data to Coveralls as soon as it's live. |
The second "build run" now has the links to the files. I'll be waiting for your review. |
Closes #416 - Add code coverage to Coveralls.io
To get coverage data from Pester:
For starters, here's the PowerShell script that pushes to Coveralls.io for PowerShell/PowerShell:
https://github.com/PowerShell/PowerShell/tree/a042dc1ff1db71e4baede19d9eedf47e0004587c/test/tools/CodeCoverageAutomation
The text was updated successfully, but these errors were encountered: