-
Notifications
You must be signed in to change notification settings - Fork 3
Add coverage badges #15
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
Conversation
|
@microsoft-github-policy-service agree |
|
@christianpaquin I am not sure this will work with the matrix you have. Do you want me to make a separate yaml file for coverage, and pin the node version? |
| - run: npm install | ||
| - run: npm run build --if-present | ||
| - run: npm test | ||
| - run: npm run coverage |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may need to move this to a separate file...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we'll see; let's try it. Looks like CI ran correctly but badge fail because of branch permission; it might succeed on main (let's see)
| *WORK IN PROGRESS* | ||
|
|
||
| [](https://github.com/microsoft/bbs-node-reference/actions/workflows/nodejs-ci.yml) | ||
|  |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The action will create this directory on main, and store latest badge details in it.
christianpaquin
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great, thanks @OR13
You will need to give the action permission to write to main:
Settings > Actions > General
I am not sure if this will work with the matrix approach you have for tests