Skip to content

Commit 85c1a0e

Browse files
author
Anton Khodak
authored
Merge branch 'master' into fix/#560
2 parents c4ed587 + 06808a3 commit 85c1a0e

File tree

1 file changed

+12
-5
lines changed

1 file changed

+12
-5
lines changed

README.rst

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ It is highly recommended to setup virtual environment before installing `cwltool
3131
virtualenv -p python2 venv # Create a virtual environment, can use `python3` as well
3232
source venv/bin/activate # Activate environment before installing `cwltool`
3333
34-
1. Installing the official package from PyPi (will install "cwltool" package as
34+
Installing the official package from PyPi (will install "cwltool" package as
3535
well)
3636

3737
.. code:: bash
@@ -44,7 +44,7 @@ If installing alongside another CWL implementation then
4444
4545
pip install cwltool
4646
47-
2. To install from source
47+
Or you can install from source:
4848

4949
.. code:: bash
5050
@@ -62,9 +62,16 @@ Running tests locally
6262

6363
- Running basic tests ``(/tests)``:
6464

65-
We use `tox <https://github.com/common-workflow-language/cwltool/tree/master/tox.ini>`_
66-
to run various tests in all supported Python environments.
67-
You can run the test suite by simply running the following in the terminal:
65+
To run the basis tests after installing `cwltool` execute the following:
66+
67+
.. code:: bash
68+
69+
pip install pytest mock
70+
py.test --ignore cwltool/schemas/ --pyarg cwltool
71+
72+
To run various tests in all supported Python environments we use `tox <https://github.com/common-workflow-language/cwltool/tree/master/tox.ini>`_. To run the test suite in all supported Python environments
73+
first downloading the complete code repository (see the ``git clone`` instructions above) and then run
74+
the following in the terminal:
6875
``pip install tox; tox``
6976

7077
List of all environment can be seen using:

0 commit comments

Comments
 (0)