Skip to content

Commit

Permalink
(feat): compare to base
Browse files Browse the repository at this point in the history
  • Loading branch information
lucassabreu committed Aug 16, 2021
1 parent a9994c4 commit 2bca278
Show file tree
Hide file tree
Showing 8 changed files with 3,328 additions and 53 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,11 @@ jobs:
dir-prefix: /var/www/html
file: clover.example.xml
only-with-cover: true

- name: clover file to comment (clover.example.base.xml)
uses: ./.
with:
dir-prefix: /var/www/html
file: clover.example.base.xml
base-file: clover.example.xml
only-with-cover: true
19 changes: 14 additions & 5 deletions README.md

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ inputs:
file:
description: The location of the clover file
required: true
base-file:
description: The location of the clover file with a previous state of the coverage to compare
required: false
only-with-cover:
description: Should only list files with at least one line covered
default: false
Expand Down
63 changes: 43 additions & 20 deletions bin/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion bin/index.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit 2bca278

Please sign in to comment.