diff planemo_test.sh @ 7:451ff602a957 draft

planemo upload for repository https://github.com/workflow4metabolomics/xcms commit 727b4a74b8e424af622dc0e2b0c910cdd020cd29
author lecorguille
date Mon, 25 Apr 2016 11:14:02 -0400
parents 0888f7ef739a
children 53923784176c
line wrap: on
line diff
--- a/planemo_test.sh	Fri Apr 08 10:38:52 2016 -0400
+++ b/planemo_test.sh	Mon Apr 25 11:14:02 2016 -0400
@@ -1,18 +1,33 @@
-planemo conda_init
-planemo conda_install .
-planemo test --install_galaxy --conda_dependency_resolution --galaxy_branch "dev"
+# Example of planemo command to launch test
+
+# 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"
 
 #All 2 test(s) executed passed.
 #abims_xcms_xcmsSet[0]: passed
 #abims_xcms_xcmsSet[1]: passed
 
 
-
-
-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"
+# -- 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 2 test(s) executed passed.
 #abims_xcms_xcmsSet[0]: passed
-#abims_xcms_xcmsSet[1]: passed
\ No newline at end of file
+#abims_xcms_xcmsSet[1]: passed
+
+
+# -- Use of shed_test
+planemo shed_test --install_galaxy  -t testtoolshed --galaxy_branch ="dev"
+
+#All 2 test(s) executed passed.
+#testtoolshed.g2.bx.psu.edu/repos/lecorguille/xcms_group/abims_xcms_xcmsset/2.0.8[0]: passed
+#testtoolshed.g2.bx.psu.edu/repos/lecorguille/xcms_group/abims_xcms_xcmsset/2.0.8[1]: passed
+