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

Enable CodeCov Support #18

Closed
TraGicCode opened this issue Apr 14, 2018 · 1 comment
Closed

Enable CodeCov Support #18

TraGicCode opened this issue Apr 14, 2018 · 1 comment

Comments

@TraGicCode
Copy link
Contributor

Hey @johlju ,

What is the process i need to follow in order to enable codecov for this?

@johlju
Copy link
Member

johlju commented Apr 14, 2018

  1. PR Unit Tests not running because of naming convention. #16 should be merged so tests are properly tested.
  2. Add CodeCoverage and CodeCov parameters to the Invoke-AppveyorTestScriptTask helper function in appveyor.yml from the appveyor.yml template. Note: It looks to me like you should be able to replace the entire appveyor.yml to the one in the template.
  3. Copy the .codecov.yml from for example SqlServerDsc (added an issue to add it to the DscResource template folder).
  4. Codecov should be enabled. I think this is already done on all repos. If the Codecov bot is adding a comment to the PR after the tests has run, then it works. If it does not, Codecov must be enable by PowerShell DSC team.

I think that's it. 🤔

johlju pushed a commit that referenced this issue Apr 21, 2018
Enabled Code Coverage Support (issue #18).
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