view planemo_test.sh @ 11:fc1fa0c70378 draft

planemo upload commit f8a14a5bfd1843dc3f65b3f713c35dd62bf6996a-dirty
author lecorguille
date Mon, 04 Jul 2016 11:57:03 -0400
parents 8dd6f0ffa763
children
line wrap: on
line source

# 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-camera/1.22.0/lecorguille/package_bioconductor_camera_1_22_0/22cec61d66c2/env.sh
planemo test --install_galaxy

#All 1 test(s) executed passed.
#abims_CAMERA_annotateDiffreport[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

#All 1 test(s) executed passed.
#abims_CAMERA_annotateDiffreport[0]: passed


# -- Use of shed_test
planemo shed_test --install_galaxy -t testtoolshed 

#All 1 test(s) executed passed.
#testtoolshed.g2.bx.psu.edu/repos/lecorguille/camera_annotate/abims_CAMERA_annotateDiffreport/2.1.3[0]: passed