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: README.rst
+12-5Lines changed: 12 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -31,7 +31,7 @@ It is highly recommended to setup virtual environment before installing `cwltool
31
31
virtualenv -p python2 venv # Create a virtual environment, can use `python3` as well
32
32
source venv/bin/activate # Activate environment before installing `cwltool`
33
33
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
35
35
well)
36
36
37
37
.. code:: bash
@@ -44,7 +44,7 @@ If installing alongside another CWL implementation then
44
44
45
45
pip install cwltool
46
46
47
-
2. To install from source
47
+
Or you can install from source:
48
48
49
49
.. code:: bash
50
50
@@ -62,9 +62,16 @@ Running tests locally
62
62
63
63
- Running basic tests ``(/tests)``:
64
64
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
0 commit comments