testing_sanity.rst: add argument for running in docker (#71223) (#71587)

(cherry picked from commit 56423b1648)
This commit is contained in:
Andrew Klychkov 2020-09-03 22:41:19 +03:00 committed by GitHub
parent fd27c4db71
commit a2d8d45c61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -22,6 +22,10 @@ How to run
To run sanity tests using docker, always use the default docker image
by passing the ``--docker`` or ``--docker default`` argument.
.. note::
When using docker and the ``--base-branch`` argument,
also use the ``--docker-keep-git`` argument to avoid git related errors.
.. code:: shell
source hacking/env-setup