Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(feat): compare to base #4

Merged
merged 1 commit into from
Aug 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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