diff planemo_test.sh @ 5:0306a96cc446 draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
author lecorguille
date Mon, 25 Apr 2016 11:14:27 -0400
parents 2db1d1d0f131
children
line wrap: on
line diff
--- a/planemo_test.sh	Fri Apr 08 10:39:09 2016 -0400
+++ b/planemo_test.sh	Mon Apr 25 11:14:27 2016 -0400
@@ -1,12 +1,8 @@
-planemo conda_init
-planemo conda_install .
-planemo test --install_galaxy --conda_dependency_resolution
-
-#All 2 test(s) executed passed.
-#abims_xcms_group[0]: passed
-#abims_xcms_group[1]: passed
+# Example of planemo command to launch test
 
 
+# -- Use of installed package environments
+# after having installing package on a local galaxy instance
 source /w/galaxy/dev/shed_tools_tool_dependency_dir/R/3.1.2/iuc/package_r_3_1_2/1ca39eb16186/env.sh
 source /w/galaxy/dev/shed_tools_tool_dependency_dir/bioconductor-xcms/1.44.0/lecorguille/package_bioconductor_xcms_1_44_0/0c38f7d43e08/env.sh
 planemo test --install_galaxy
@@ -16,6 +12,17 @@
 #abims_xcms_group[1]: passed
 
 
+# -- Use of conda dependencies
+planemo conda_init --conda_prefix /tmp/mc
+planemo conda_install --conda_prefix /tmp/mc . 
+planemo test --install_galaxy --conda_prefix /tmp/mc --conda_dependency_resolution
+
+#All 2 test(s) executed passed.
+#abims_xcms_group[0]: passed
+#abims_xcms_group[1]: passed
+
+
+# -- Use of shed_test
 planemo shed_test --install_galaxy  -t testtoolshed
 
 #All 2 test(s) executed passed.