view planemo_test.sh @ 13:1c30ff90f3ae draft

planemo upload commit 301d42e88026afdac618f4ec56fc6cbe19e3e419
author lecorguille
date Fri, 07 Apr 2017 07:42:18 -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