Newer
Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!/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.