Merge pull request #8911 from edsantiago/prs_must_include_tests

CI: smoke test: insist on adding tests on PRs
This commit is contained in:
OpenShift Merge Robot
2021-01-20 05:57:09 -05:00
committed by GitHub
5 changed files with 223 additions and 4 deletions

View File

@ -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: