You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/devel/coding_guide.rst
+1-49
Original file line number
Diff line number
Diff line change
@@ -339,55 +339,7 @@ Merging
339
339
340
340
Automated tests
341
341
---------------
342
-
343
-
Whenever a pull request is created or updated, various automated test tools
344
-
will run on all supported platforms and versions of Python.
345
-
346
-
* Make sure the Linting, GitHub Actions, AppVeyor, CircleCI, and Azure
347
-
pipelines are passing before merging (All checks are listed at the bottom of
348
-
the GitHub page of your pull request). Here are some tips for finding the
349
-
cause of the test failure:
350
-
351
-
- If *Linting* fails, you have a code style issue, which will be listed
352
-
as annotations on the pull request's diff.
353
-
- If *Mypy* or *Stubtest* fails, you have inconsistency in type hints, which
354
-
will be listed as annotations in the diff.
355
-
- If a GitHub Actions or AppVeyor run fails, search the log for ``FAILURES``.
356
-
The subsequent section will contain information on the failed tests.
357
-
- If CircleCI fails, likely you have some reStructuredText style issue in
358
-
the docs. Search the CircleCI log for ``WARNING``.
359
-
- If Azure pipelines fail with an image comparison error, you can find the
360
-
images as *artifacts* of the Azure job:
361
-
362
-
- Click *Details* on the check on the GitHub PR page.
363
-
- Click *View more details on Azure Pipelines* to go to Azure.
364
-
- On the overview page *artifacts* are listed in the section *Related*.
365
-
366
-
367
-
* Codecov and CodeQL are currently for information only. Their failure is not
368
-
necessarily a blocker.
369
-
370
-
* tox_ is not used in the automated testing. It is supported for testing
371
-
locally.
372
-
373
-
.. _tox: https://tox.readthedocs.io/
374
-
375
-
* If you know only a subset of CIs need to be run, this can be controlled on
376
-
individual commits by including the following substrings in commit messages:
377
-
378
-
- ``[ci doc]``: restrict the CI to documentation checks. For when you only
379
-
changed documentation (this skip is automatic if the changes are only under
380
-
``doc/`` or ``galleries/``).
381
-
- ``[skip circle]``: skip the documentation build check. For when you didn't
382
-
change documentation.
383
-
- Unit tests can be turned off for individual platforms with
384
-
385
-
- ``[skip actions]``: GitHub Actions
386
-
- ``[skip appveyor]`` (must be in the first line of the commit): AppVeyor
387
-
- ``[skip azp]``: Azure Pipelines
388
-
389
-
- ``[skip ci]``: skip all CIs. Use this only if you know your changes do not
390
-
need to be tested at all, which is very rare.
342
+
Before being merged, a PR should pass the :ref:`automated-tests`. If you are unsure why a test is failing, ask on the PR or in our `chat space <https://gitter.im/matplotlib/matplotlib>`_
0 commit comments