@@ -466,40 +466,65 @@ pull request.
466
466
467
467
Here are some tips for finding the cause of a test failure:
468
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 *.
469
+ .. list-table ::
470
+ :stub-columns: 1
471
+ :widths: 20 15 65
472
+
473
+ * - Linting
474
+ - Code style
475
+ - Errors are displayed as annotations on the pull request diff.
476
+ * - | Mypy
477
+ | Stubtest
478
+ - Type hints
479
+ - Errors are displayed as annotations on the pull request diff.
480
+ * - CircleCI
481
+ - reStructuredText (rst)
482
+ - Search the CircleCI log for ``WARNING ``.
483
+ * - | GitHub Actions
484
+ | AppVeyor
485
+ | Azure pipelines
486
+ - Unit tests
487
+ - | Search the log for ``FAILURES ``. Subsequent section should contain information
488
+ on failed tests.
489
+ | On Azure, find the images as *artifacts* of the Azure job:
490
+ | Click *Details* on the check on the GitHub PR page.
491
+ | Click *View more details on Azure Pipelines* to go to Azure.
492
+ | On the overview page *artifacts* are listed in the section *Related*.
483
493
484
494
Skip CI checks
485
495
--------------
486
496
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 `_.
497
+ If you know only a subset of CI checks need to be run, you can skip any unneeded CI
498
+ checks on individual commits by including the following substrings in commit messages:
499
+
500
+ .. list-table ::
501
+ :stub-columns: 1
502
+ :widths: 25 20 55
503
+
504
+ * - ``[ci doc] ``
505
+ - Only run documentation checks.
506
+ - | For when you have only changed documentation.
507
+ | ``[ci doc]`` is applied automatically when the changes are only to files in
508
+ ``doc/**/`` or ``galleries/**/``
509
+ * - ``[skip circle] ``
510
+ - Skip documentation checks.
511
+ - For when you didn't change documentation.
512
+ * - ``[skip appveyor] ``
513
+ - Skip AppVeyor run.
514
+ - Substring must be in first line of commit message.
515
+ * - ``[skip azp] ``
516
+ - Skip Azure Pipelines.
517
+ -
518
+ * - ``[skip actions] ``
519
+ - Skip GitHub Actions
520
+ -
521
+ * - ``[skip ci] ``
522
+ - Skip all CI checks.
523
+ - Use only for changes where documentation checks and unit tests do not apply.
524
+
525
+
526
+ ``[skip actions] `` and ``[skip ci] `` skip Github Actions CI workflows that are
527
+ triggered on ``on: push `` and ``on: pull_request `` events. For more information,
528
+ see `Skipping workflow runs `_.
504
529
505
530
.. _`Skipping workflow runs` : https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs
0 commit comments