This repository has been archived by the owner on Aug 30, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(tests): add client and server test coverage to Gulp (#1466)
* Added coverage to Gulp * Integrated coveralls tests with gulp * spurious changes to kick off coveralls
- Loading branch information
1 parent
c2cfc38
commit 7be1910
Showing
6 changed files
with
57 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7be1910
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.
@hyperreality @lirantal I'm getting an error at the end of the coveralls run. Could this have been what was happening on the Travis builds with the PR?
It looks like it's throwing an error with the client-side coverage. The client tests ran, but they couldn't be analyzed by coveralls. At least that's my hunch.
7be1910
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.
@mleanos Hi, thanks for looking into this issue. I think you're getting that error because you're missing a
.coveralls.yml
file with a personal repo token in it.7be1910
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.
How do I get me one of them? :) And why is it required? If this can be automated, then we should look into adding a Gulp task to do this for the user. I would never have know, unless I dug deeper into Coveralls.
7be1910
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.
@mleanos Good point. Perhaps we should split this into two separate gulp tasks then, one which simply runs the coverage locally and one which additionally submits the results to coveralls.io?
7be1910
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.
Yes. That's a good idea. We should make it configurable, so that a user can easily opt in/out of this functionality.
7be1910
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.
Okay, should be a quick fix. I'll also look closer into the issue with client-side coverage, perhaps as @lirantal says it's to do with the .travis.yml file.
7be1910
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 guys.