Skip to content
Snippets Groups Projects
Commit e3884435 authored by John Chilton's avatar John Chilton
Browse files

WIP on test for artifacts on pypi for Pulsar.

parent 54f5cc34
No related branches found
No related tags found
No related merge requests found
<job_conf>
<plugins workers="4">
<plugin id="local" type="runner" load="galaxy.jobs.runners.local:LocalJobRunner"/>
<plugin id="pulsar_rest" type="runner" load="galaxy.jobs.runners.pulsar:PulsarRESTJobRunner">
</plugin>
</plugins>
<handlers>
<handler id="main" />
</handlers>
<destinations default="pulsar_rest">
<destination id="local" runner="local"/>
<destination id="pulsar_rest" runner="pulsar_rest">
<param id="url">http://localhost:8913/</param>
</destination>
</destinations>
<tools>
<tool id="upload1" destination="local" />
</tools>
</job_conf>
#!/bin/bash
set -e
echo "Start Pulsar Checks"
SCRIPT_DIR="$( cd "$(dirname "$0")" ; pwd )"
PROJECT_DIR="$SCRIPT_DIR/.."
TEMP_DIR=`mktemp -d`
cd "$TEMP_DIR"
mkdir pulsar
cd pulsar
virtualenv venv
. venv/bin/activate # .venv\Scripts\activate if Windows
pip install pulsar-app
pulsar-config
pulsar --daemon # just pulsar if Windows
sleep 2
pulsar-check # runs a test job
pulsar --stop-daemon
echo "End Pulsar Checks"
echo "Testing Galaxy Interactions"
pulsar --daemon # just pulsar if Windows
sleep 2
cd ..
virtualenv planemo-venv
. planemo-venv/bin/activate
pip install planemo
planemo project_init --template=demo test_tools
planemo --verbose test --job_config_file "$SCRIPT_DIR/galaxy_job_conf.xml" test_tools
pulsar --stop-daemon
echo "Ending tests.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment