@@ -8,8 +8,9 @@ text-file format used to both describe and execute built-in tests.
88## Execution environment
99You will need: -
1010
11- - Groovy
1211- Conda
12+ - Groovy (v2.4)
13+ - Python
1314
1415Although the project is based on [ Gradle] , which is Groovy-based,
1516you will need to install ** Groovy** . We've tested this framework using Groovy
@@ -170,10 +171,46 @@ that can be tested using `setup.py`. To test these modules run the
170171following from the ` src/python ` directory: -
171172
172173 $ python setup.py test
173-
174+
175+ ## Considerations for Windows
176+ The tests and test framework are designed to operate from within a unix-like
177+ environment but if you are forced to execute pipeline tests from Windows the
178+ following approach is recommended: -
179+
180+ You will need:
181+
182+ - Conda
183+ - Groovy (v2.4)
184+ - Git-Bash
185+
186+ 1 . Install [ Git for Windows] . This will give you a unix bash-like
187+ execution environment
188+ 1 . From within the Git-bash shell navigate to your pipelines project.
189+ 1 . Ensure that you can execute both Python and Groovy from within the
190+ Git-Bash shell (i.e. ` python --version ` and ` groovy --version ` work)
191+ 1 . From the pipelines project root enter your Conda environment
192+ with something like ` source activate my-conda-env ` . To run the
193+ pipelines tests your environment must contain the rdkit package. It
194+ can be installed with this command from within Conda...
195+
196+ $ conda install -c rdkit rdkit
197+
198+ 1 . Install additional modules required by ` pipelines-utils ` but
199+ using its requirements file (which can be found in the ` pipelines-utils `
200+ sub-project): -
201+
202+ $ pip install -r requirements.txt
203+
204+ With the above steps complete you should be able to execute the pipelines
205+ tester by navigating to the sub-module in your pipelines project: -
206+
207+ $ cd pipelines-utils
208+ $ ./gradlew runPipelineTester
209+
174210---
175211
176212[ Conda ] : https://conda.io/docs/
213+ [ Git for Windows ] : http://gitforwindows.org
177214[ Gradle ] : https://gradle.org
178215[ Groovy ] : http://groovy-lang.org
179216[ PIP ] : https://pypi.python.org/pypi
0 commit comments