Changeset - ed38fdc9be63
[Not reviewed]
0 1 0
Branko Majic (branko) - 4 years ago 2020-05-13 19:18:39
branko@majic.rs
GC-33: Update invocation commands for running tests under Vagrant in order to avoid errors.
1 file changed with 13 insertions and 5 deletions:
0 comments (0 inline, 0 general)
docs/development.rst
Show inline comments
 
@@ -165,14 +165,22 @@ perform the following steps:
 

	
 
     cd /vagrant
 

	
 
5. Clean Python caches to ensure your main development machine files
 
   do not interfere::
 
5. Run tests against all available environments:
 

	
 
     py3clean .
 
.. warning::
 
   The ``--workdir`` option should be used in order to avoid mixing of
 
   Python cache files from the host and the Vagrant virtual
 
   machine, and to avoid getting the error ``ERROR: Could
 
   not install packages due to an EnvironmentError: [Errno 39]
 
   Directory not empty: '__pycache__'`` during installation of
 
   Gimmecert package inside of Tox virtual environment. It is unclear
 
   at time of this writing why such an error would be triggered, but
 
   it could have something to do with the ``vboxsf`` filesystem used
 
   for sharing the ``/vagrant`` directory.
 

	
 
6. Run tests against all available environments::
 
::
 

	
 
     tox
 
     tox --workdir /tmp/
 

	
 

	
 
Building documentation
0 comments (0 inline, 0 general)