This is an automated email from the ASF dual-hosted git repository.
aw pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/yetus-test-patch-action.git
The following commit(s) were added to refs/heads/main by this push:
new 160f55e YETUS-992. Create and publish a github action (#3) (#4)
160f55e is described below
commit 160f55e65bdad973aa8db15234dabb2f1ecc4f2e
Author: Allen Wittenauer <[email protected]>
AuthorDate: Thu Oct 15 16:59:13 2020 -0700
YETUS-992. Create and publish a github action (#3) (#4)
Signed-off-by: Nick Dimiduk <[email protected]>
---
action.yml | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/action.yml b/action.yml
index 916689a..c133266 100644
--- a/action.yml
+++ b/action.yml
@@ -71,6 +71,9 @@ inputs:
reviveconfig:
description: 'Configuration file for revive'
default: .revive.toml
+ testsfilter:
+ description: 'Only warn on these test plug-ins'
+ default: ''
runs:
using: 'docker'
@@ -78,6 +81,8 @@ runs:
args:
- test-patch
- --basedir=${{ inputs.basedir }}
+ - --blanks-eol-ignore-file=${{ inputs.blankseolignorefile }}
+ - --blanks-tabs-ignore-file=${{ inputs.blankstabsignorefile }}
- --brief-report-file=${{ inputs.patchdir }}/brief.txt
- --buf-basedir=${{ inputs.bufbasedir }}
- --build-tool=${{ inputs.buildtool }}
@@ -86,6 +91,7 @@ runs:
- --excludes=${{ inputs.excludes }}
- --github-token=${{ inputs.githubtoken }}
- --html-report-file=${{ inputs.patchdir }}/report.html
+ - --ignore-unknown-options=true
- --junit-report-xml=${{ inputs.patchdir }}/junit-report.xml
- --patch-dir=${{ inputs.patchdir }}
- --plugins=${{ inputs.plugins }}
@@ -94,6 +100,6 @@ runs:
- --pylint-requirements=true
- --pylint=${{ inputs.pylint }}
- --reapermode=${{ inputs.reapermode }}
+ - --report-unknown-options=false
- --revive-config=${{ inputs.reviveconfig }}
- - --blanks-eol-ignore-file=${{ inputs.blankseolignorefile }}
- - --blanks-tabs-ignore-file=${{ inputs.blankstabsignorefile }}
+ - --tests-filter=${{ inputs.testsfilter }}