summaryrefslogtreecommitdiff
path: root/CONTRIBUTING.md
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 /CONTRIBUTING.md
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 'CONTRIBUTING.md')
-rw-r--r--CONTRIBUTING.md10
1 files changed, 7 insertions, 3 deletions
diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md
index 30fddf82b..cb8bce9ed 100644
--- a/CONTRIBUTING.md
+++ b/CONTRIBUTING.md
@@ -142,9 +142,13 @@ larger PRs into smaller ones - it's easier to review smaller
code changes. But only if those smaller ones make sense as stand-alone PRs.
Regardless of the type of PR, all PRs should include:
-* well documented code changes
-* additional testcases. Ideally, they should fail w/o your code change applied
-* documentation changes
+* well documented code changes.
+* additional testcases. Ideally, they should fail w/o your code change applied.
+ (With a few exceptions, CI hooks will block your PR unless your change
+ includes files named `*_test.go` or under the `test/` subdirectory. To
+ bypass this block, include the string `[NO TESTS NEEDED]` in your
+ commit message).
+* documentation changes.
Squash your commits into logical pieces of work that might want to be reviewed
separate from the rest of the PRs. But, squashing down to just one commit is ok