summaryrefslogtreecommitdiff
path: root/contrib/cirrus/runner.sh
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-01-20 05:57:09 -0500
committerGitHub <noreply@github.com>2021-01-20 05:57:09 -0500
commit54c465bda6cbef398c2ea9f103253fbc3af0505c (patch)
tree82ad621f942c8f60fed1bb70c706a8c5f5e309fa /contrib/cirrus/runner.sh
parent5e7262ddf595f9187d01e12f5dcee2fe1c713798 (diff)
parent9f6bb3563d7a311a7e5628d18210c2c263af962d (diff)
downloadpodman-54c465bda6cbef398c2ea9f103253fbc3af0505c.tar.gz
podman-54c465bda6cbef398c2ea9f103253fbc3af0505c.tar.bz2
podman-54c465bda6cbef398c2ea9f103253fbc3af0505c.zip
Merge pull request #8911 from edsantiago/prs_must_include_tests
CI: smoke test: insist on adding tests on PRs
Diffstat (limited to 'contrib/cirrus/runner.sh')
-rwxr-xr-xcontrib/cirrus/runner.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/contrib/cirrus/runner.sh b/contrib/cirrus/runner.sh
index 572f0b44a..e968fac45 100755
--- a/contrib/cirrus/runner.sh
+++ b/contrib/cirrus/runner.sh
@@ -31,7 +31,11 @@ function _run_smoke() {
# $CIRRUS_TAG is only non-empty when executing due to a tag-push
# shellcheck disable=SC2154
if [[ -z "$CIRRUS_TAG" ]]; then
+ # If PR consists of multiple commits, test that each compiles cleanly
make .gitvalidation
+
+ # PRs should include some way to test.
+ $SCRIPT_BASE/pr-should-include-tests
fi
}