Skip to content
This repository has been archived by the owner on Jan 16, 2018. It is now read-only.

Coverage #176

Merged
merged 4 commits into from
Nov 27, 2017
Merged

Coverage #176

merged 4 commits into from
Nov 27, 2017

Conversation

carloslancha
Copy link
Collaborator

No description provided.

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 955eb02 on carloslancha:coverage into ** on metal:master**.

package.json Outdated
@@ -3,8 +3,9 @@
"scripts": {
"a11y": "metal-a11y --packages ./packages -c demos/index.html",
"build": "lerna run build",
"ci": "npm run build && npm run checkFormat && npm run lint && npm run test",
"ci": "npm run build && npm run checkFormat && npm run lint && npm run test && npm run coveralls",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What do you think the using CI configurations in travis.yml?

script:
  - npm run build
  - npm run checkFormat
  - npm run lint
  - npm run test

# Coveralls
after_success: npm run coveralls

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sounds good!

@matuzalemsteles
Copy link
Collaborator

Hey @carloslancha, Coveralls exist a feature that fails in pr when coverage is reduced. Are we using this?

@carloslancha
Copy link
Collaborator Author

carloslancha commented Nov 27, 2017

Hey @matuzalemsteles nope, for that I think we need to get on an agreement on how that should work, if should fail when coverage is reduced, if is reduced down a defined threshold... What do you think?

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 69a5f8e on carloslancha:coverage into ** on metal:master**.

@jbalsas
Copy link
Contributor

jbalsas commented Nov 27, 2017

If we enable it, we should add the coverage badge to the README.md file as well 😉

@matuzalemsteles
Copy link
Collaborator

matuzalemsteles commented Nov 27, 2017

@carloslancha Yeah, it has the option of when a PR reduces x% coverage of the repo it fails and we can also put the minimum coverage. I do not have the right margin to measure this. I think we can go without it for now and when we realize that it is not having a good coverage we can measure this percentage better. Do you have any suggestions about this?

@carloslancha
Copy link
Collaborator Author

Sure thing @jbalsas I was waiting for the first report to get the url ;)

@carloslancha
Copy link
Collaborator Author

@matuzalemsteles Yeah, I think we can adjust it later, maybe after talking with te rest of the team :)

@coveralls
Copy link

Coverage Status

Changes Unknown when pulling 92ea959 on carloslancha:coverage into ** on metal:master**.

@matuzalemsteles
Copy link
Collaborator

@carloslancha Okay.

Merged, thanks!

@matuzalemsteles matuzalemsteles merged commit 4ab9587 into deprecate:master Nov 27, 2017
@carloslancha carloslancha deleted the coverage branch December 5, 2017 09:34
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants