summaryrefslogtreecommitdiff
path: root/Makefile
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 /Makefile
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 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 8d1a34183..5b31ecfae 100644
--- a/Makefile
+++ b/Makefile
@@ -407,6 +407,10 @@ man-page-check:
swagger-check:
hack/swagger-check
+.PHONY: tests-included
+tests-included:
+ contrib/cirrus/pr-should-include-tests
+
.PHONY: codespell
codespell:
codespell -S bin,vendor,.git,go.sum,changelog.txt,.cirrus.yml,"RELEASE_NOTES.md,*.xz,*.gz,*.tar,*.tgz,bin2img,*ico,*.png,*.1,*.5,copyimg,*.orig,apidoc.go" -L uint,iff,od,seeked,splitted,marge,ERRO,hist -w
@@ -644,7 +648,7 @@ validate.completions:
if [ -x /bin/fish ]; then /bin/fish completions/fish/podman.fish; fi
.PHONY: validate
-validate: gofmt lint .gitvalidation validate.completions man-page-check swagger-check
+validate: gofmt lint .gitvalidation validate.completions man-page-check swagger-check tests-included
.PHONY: build-all-new-commits
build-all-new-commits: