Skip to content

Commit e60c843

Browse files
committed
clean up automated tests section of workflow docs
1 parent ff0497c commit e60c843

File tree

1 file changed

+45
-39
lines changed

1 file changed

+45
-39
lines changed

doc/devel/development_workflow.rst

Lines changed: 45 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -452,48 +452,54 @@ Automated tests
452452
Whenever a pull request is created or updated, various automated test tools
453453
will run on all supported platforms and versions of Python.
454454

455-
* Make sure the Linting, GitHub Actions, AppVeyor, CircleCI, and Azure
456-
pipelines are passing before merging (All checks are listed at the bottom of
457-
the GitHub page of your pull request). Here are some tips for finding the
458-
cause of the test failure:
459-
460-
- If *Linting* fails, you have a code style issue, which will be listed
461-
as annotations on the pull request's diff.
462-
- If *Mypy* or *Stubtest* fails, you have inconsistency in type hints, which
463-
will be listed as annotations in the diff.
464-
- If a GitHub Actions or AppVeyor run fails, search the log for ``FAILURES``.
465-
The subsequent section will contain information on the failed tests.
466-
- If CircleCI fails, likely you have some reStructuredText style issue in
467-
the docs. Search the CircleCI log for ``WARNING``.
468-
- If Azure pipelines fail with an image comparison error, you can find the
469-
images as *artifacts* of the Azure job:
470-
471-
- Click *Details* on the check on the GitHub PR page.
472-
- Click *View more details on Azure Pipelines* to go to Azure.
473-
- On the overview page *artifacts* are listed in the section *Related*.
474-
475-
476-
* Codecov and CodeQL are currently for information only. Their failure is not
477-
necessarily a blocker.
478-
479455
* tox_ is not used in the automated testing. It is supported for testing
480456
locally.
481457

482458
.. _tox: https://tox.readthedocs.io/
483459

484-
* If you know only a subset of CIs need to be run, this can be controlled on
485-
individual commits by including the following substrings in commit messages:
486-
487-
- ``[ci doc]``: restrict the CI to documentation checks. For when you only
488-
changed documentation (this skip is automatic if the changes are only under
489-
``doc/`` or ``galleries/``).
490-
- ``[skip circle]``: skip the documentation build check. For when you didn't
491-
change documentation.
492-
- Unit tests can be turned off for individual platforms with
493-
494-
- ``[skip actions]``: GitHub Actions
495-
- ``[skip appveyor]`` (must be in the first line of the commit): AppVeyor
496-
- ``[skip azp]``: Azure Pipelines
460+
* Codecov and CodeQL are currently for information only. Their failure is not
461+
necessarily a blocker.
497462

498-
- ``[skip ci]``: skip all CIs. Use this only if you know your changes do not
499-
need to be tested at all, which is very rare.
463+
Make sure the Linting, GitHub Actions, AppVeyor, CircleCI, and Azure pipelines are
464+
passing before merging. All checks are listed at the bottom of the GitHub page of your
465+
pull request.
466+
467+
Here are some tips for finding the cause of a test failure:
468+
469+
- If *Linting* fails, you have a code style issue, which will be listed
470+
as annotations on the pull request's diff.
471+
- If *Mypy* or *Stubtest* fails, you have inconsistency in type hints, which
472+
will be listed as annotations in the diff.
473+
- If a GitHub Actions or AppVeyor run fails, search the log for ``FAILURES``.
474+
The subsequent section will contain information on the failed tests.
475+
- If CircleCI fails, likely you have some reStructuredText style issue in
476+
the docs. Search the CircleCI log for ``WARNING``.
477+
- If Azure pipelines fail with an image comparison error, you can find the
478+
images as *artifacts* of the Azure job:
479+
480+
- Click *Details* on the check on the GitHub PR page.
481+
- Click *View more details on Azure Pipelines* to go to Azure.
482+
- On the overview page *artifacts* are listed in the section *Related*.
483+
484+
Skip CI checks
485+
--------------
486+
487+
If you know only a subset of CIs need to be run, this can be controlled on individual
488+
commits by including the following substrings in commit messages:
489+
490+
- ``[ci doc]``: restrict the CI to documentation checks. For when you only changed
491+
documentation. This skip is automatic if the changes are only under
492+
``doc/`` or ``galleries/``.
493+
- ``[skip circle]``: skip the documentation build check. For when you didn't
494+
change documentation.
495+
- Unit tests can be turned off for individual platforms with:
496+
497+
- ``[skip actions]``: GitHub Actions
498+
- ``[skip appveyor]``: AppVeyor. Must be in the first line of the commit message.
499+
- ``[skip azp]``: Azure Pipelines
500+
501+
- ``[skip ci]``: skip all CIs. Use this only if you know your changes do not
502+
need to be tested at all. This only skips CI triggered on ``on: push`` and
503+
``on: pull_request`` events. For more information, see `Skipping workflow runs`_.
504+
505+
.. _`Skipping workflow runs`: https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy