Skip to content

Commit

Permalink
Add note about running docker tests locally
Browse files Browse the repository at this point in the history
  • Loading branch information
mrunge authored and mergify[bot] committed Jan 11, 2021
1 parent 26ddd0e commit 894ed2c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions doc/source/contributing.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,3 +79,13 @@ To run tests with MySQL as indexer, and Ceph as storage backend:
::

tox -e py36-mysql-ceph


In order to run the tests like they do in travis CI, you could create
a user named tester, use UID 2000 and GID 2000 and run a command like
this

::
docker run -v ~/.cache/pip:/home/tester/.cache/pip -v $(pwd):/home/tester/src gnocchixyz/ci-tools:latest tox

Make sure the machine executing the tests has as least 4 GB of RAM.

0 comments on commit 894ed2c

Please sign in to comment.