Skip to content

Commit c4193f1

Browse files
Merge pull request #659 from dtaylor113/coveralls
Coveralls Unit Test Code Coverage
2 parents db1b797 + e2604eb commit c4193f1

File tree

6 files changed

+611
-953
lines changed

6 files changed

+611
-953
lines changed

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ dist/docs/font*
1919
dist/docs/grunt-styles
2020
dist/docs/img
2121
dist/docs/index.html
22-
22+
coverage/
2323

2424
/docs
2525
/dist
@@ -28,4 +28,4 @@ npm-debug.log
2828
lib
2929
.bower
3030

31-
.vscode
31+
.vscode

Gruntfile.js

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,14 @@ module.exports = function (grunt) {
161161
browsers: ['PhantomJS']
162162
}
163163
},
164+
coveralls: {
165+
options: {
166+
debug: true,
167+
coverageDir: 'coverage',
168+
dryRun: false,
169+
force: true
170+
}
171+
},
164172
ngdocs: {
165173
options: {
166174
title: 'ANGULAR PATTERNFLY',
@@ -369,7 +377,7 @@ module.exports = function (grunt) {
369377
grunt.registerTask('default', ['build']);
370378
grunt.registerTask('ngdocs:view', ['build', 'connect:docs', 'watch']);
371379
grunt.registerTask('lint', ['eslint', 'htmlhint']);
372-
grunt.registerTask('test', ['karma']);
380+
grunt.registerTask('test', ['karma', 'coveralls']);
373381
grunt.registerTask('check', ['lint', 'test']);
374382
grunt.registerTask('help', ['availabletasks']);
375383
grunt.registerTask('serve', ['ngdocs:view']);

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
[![Code Climate](https://codeclimate.com/github/patternfly/angular-patternfly/badges/gpa.svg)](https://codeclimate.com/github/patternfly/angular-patternfly)
44
[![NSP Status](https://nodesecurity.io/orgs/angular-patternfly/projects/690b94c3-4f36-4208-887d-fdb5f22f65fc/badge)](https://nodesecurity.io/orgs/angular-patternfly/projects/690b94c3-4f36-4208-887d-fdb5f22f65fc)
55
[![Join the chat at https://gitter.im/patternfly/angular-patternfly](https://badges.gitter.im/patternfly/angular-patternfly.svg)](https://gitter.im/patternfly/angular-patternfly?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
6+
[![Coverage Status](https://coveralls.io/repos/github/patternfly/angular-patternfly/badge.svg)](https://coveralls.io/github/patternfly/angular-patternfly)
67

78
# AngularJS components for [PatternFly](https://www.patternfly.org)
89

0 commit comments

Comments
 (0)