@@ -8,8 +8,9 @@ text-file format used to both describe and execute built-in tests.
8
8
## Execution environment
9
9
You will need: -
10
10
11
- - Groovy
12
11
- Conda
12
+ - Groovy (v2.4)
13
+ - Python
13
14
14
15
Although the project is based on [ Gradle] , which is Groovy-based,
15
16
you 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
170
171
following from the ` src/python ` directory: -
171
172
172
173
$ 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
+
174
210
---
175
211
176
212
[ Conda ] : https://conda.io/docs/
213
+ [ Git for Windows ] : http://gitforwindows.org
177
214
[ Gradle ] : https://gradle.org
178
215
[ Groovy ] : http://groovy-lang.org
179
216
[ PIP ] : https://pypi.python.org/pypi
0 commit comments