diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2022-04-21 16:35:08 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-21 16:35:08 -0400 |
commit | bdbd477c286b8bcf27a498d0f8b0e8ba7642a018 (patch) | |
tree | d4e0c2cf20422a370639426e6d6527c5a05dbb7a /contrib/cirrus/pr-should-include-tests | |
parent | 121dde6234ddfcaf11abea03449bfd2a11da90a5 (diff) | |
parent | 55a5bd8a00577a91fb381364bcfc61e50a8e505a (diff) | |
download | podman-bdbd477c286b8bcf27a498d0f8b0e8ba7642a018.tar.gz podman-bdbd477c286b8bcf27a498d0f8b0e8ba7642a018.tar.bz2 podman-bdbd477c286b8bcf27a498d0f8b0e8ba7642a018.zip |
Merge pull request #13936 from edsantiago/can_you_believe_ed_wants_to_skip_tests
Optimization: skip tests in some circumstances
Diffstat (limited to 'contrib/cirrus/pr-should-include-tests')
-rwxr-xr-x | contrib/cirrus/pr-should-include-tests | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/cirrus/pr-should-include-tests b/contrib/cirrus/pr-should-include-tests index 8103df41d..0d39047a6 100755 --- a/contrib/cirrus/pr-should-include-tests +++ b/contrib/cirrus/pr-should-include-tests @@ -30,8 +30,7 @@ fi # Nothing changed under test subdirectory. # # This is OK if the only files being touched are "safe" ones. -filtered_changes=$(git diff --name-status $base $head | - awk '{print $2}' | +filtered_changes=$(git diff --name-only $base $head | fgrep -vx .cirrus.yml | fgrep -vx .gitignore | fgrep -vx Makefile | |