diff planemo_test.sh @ 5:cd351af95d14 draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
author lecorguille
date Mon, 25 Apr 2016 11:15:12 -0400
parents 2edfa5e1f719
children 465623d2f6fa
line wrap: on
line diff
--- a/planemo_test.sh	Fri Apr 08 10:39:59 2016 -0400
+++ b/planemo_test.sh	Mon Apr 25 11:15:12 2016 -0400
@@ -1,11 +1,10 @@
-planemo conda_init
-planemo conda_install .
-planemo test --install_galaxy --conda_dependency_resolution --galaxy_branch "dev"
+# Example of planemo command to launch test
 
-#All 1 test(s) executed passed.
-#abims_xcms_fillPeaks[0]: passed
+# Note: --galaxy_branch "dev" is set to deal with zip file
 
 
+# -- 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 --galaxy_branch "dev"
@@ -14,8 +13,16 @@
 #abims_xcms_fillPeaks[0]: 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 --galaxy_branch "dev"
+
+#All 1 test(s) executed passed.
+#abims_xcms_fillPeaks[0]: passed
 
 
+# -- Use of shed_test
 planemo shed_test --install_galaxy --galaxy_branch "dev" -t testtoolshed
 #All 1 test(s) executed passed.
 #testtoolshed.g2.bx.psu.edu/repos/lecorguille/xcms_fillpeaks/abims_xcms_fillPeaks/2.0.6[0]: passed