diff options
author | Matti Picus <matti.picus@gmail.com> | 2021-11-17 18:52:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-17 18:52:33 +0200 |
commit | 7e94e1eac1efcc40c3e82a98a4acbf5bb5eb25c1 (patch) | |
tree | 892ba6848eb74cca75805c2d0e6ebcb47464f375 | |
parent | dd9685c90be7e8e1a04c9ccd0a7b5397fb7e824b (diff) | |
parent | 8eacfd2abce128ff2f6c64a2614cbdc96dccbbdc (diff) | |
download | numpy-7e94e1eac1efcc40c3e82a98a4acbf5bb5eb25c1.tar.gz |
Merge pull request #18343 from rgommers/ci-skip-docs
DOC: document how to skip CI jobs
-rw-r--r-- | doc/source/dev/development_workflow.rst | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/doc/source/dev/development_workflow.rst b/doc/source/dev/development_workflow.rst index 8c56f6fb2..585aacfc9 100644 --- a/doc/source/dev/development_workflow.rst +++ b/doc/source/dev/development_workflow.rst @@ -187,6 +187,27 @@ Standard acronyms to start the commit message with are:: TST: addition or modification of tests REL: related to releasing numpy +Commands to skip continuous integration +``````````````````````````````````````` + +By default a lot of continuous integration (CI) jobs are run for every PR, +from running the test suite on different operating systems and hardware +platforms to building the docs. In some cases you already know that CI isn't +needed (or not all of it), for example if you work on CI config files, text in +the README, or other files that aren't involved in regular build, test or docs +sequences. In such cases you may explicitly skip CI by including one of these +fragments in your commit message:: + + ``[ci skip]``: skip as much CI as possible (not all jobs can be skipped) + ``[skip github]``: skip GitHub Actions "build numpy and run tests" jobs + ``[skip travis]``: skip TravisCI jobs + ``[skip azurepipelines]``: skip Azure jobs + +*Note: unfortunately not all CI systems implement this feature well, or at all. +CircleCI supports ``ci skip`` but has no command to skip only CircleCI. +Azure chooses to still run jobs with skip commands on PRs, the jobs only get +skipped on merging to master.* + .. _workflow_mailing_list: |