Skip to content

Commit

Permalink
Switch to working on pull requests instead of commits
Browse files Browse the repository at this point in the history
  • Loading branch information
jacob-8 committed Dec 17, 2019
1 parent 2ff2721 commit 7b1b138
Show file tree
Hide file tree
Showing 5 changed files with 350 additions and 6,347 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Comment Test Coverage

A GitHub action to comment on a commit on GitHub with a simple test coverage summary from Karma.
A GitHub action to comment on a PR on GitHub with a simple test coverage summary from Karma.

## Usage with Karma + Angular
1. Add `"codeCoverage": true,` under test > options in angular.json
Expand Down Expand Up @@ -35,4 +35,4 @@ jobs:

## License

Repurposed from https://github.com/peter-evans/commit-comment, Copyright (c) 2019 Peter Evans
Repurposed from https://github.com/peter-evans/commit-comment, Copyright (c) 2019 Peter Evans and https://github.com/mshick/add-pr-comment, Copyright (c) 2019 Michael Shick
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: 'Comment Karma Test Coverage'
description: 'Read a Karma Test Coverage coverage-summary.json test report and comment stats on to commit'
description: 'Read a Karma Test Coverage coverage-summary.json test report and comment stats on to PR'
inputs:
token:
description: 'The GitHub authentication token'
Expand Down
Loading

0 comments on commit 7b1b138

Please sign in to comment.