Skip to content

Commit

Permalink
Fix for running doc test script outside Planemo project directory.
Browse files Browse the repository at this point in the history
To enable planemo-machine testing of documentation examples.
  • Loading branch information
jmchilton committed May 25, 2018
1 parent 6e68144 commit 324c776
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion scripts/run_doc_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,10 @@ fi
planemo --verbose conda_init || true
export PATH="$HOME/miniconda3/bin:$PATH"

bash docs/tests/tests_"${DOCS}".sh
PLANEMO_DOC_TEST_PATH="docs/tests/tests_${DOCS}.sh"
if [ -f $PLANEMO_DOC_TEST_PATH ];
then
bash "$PLANEMO_DOC_TEST_PATH"
else
bash <(curl -s "https://raw.githubusercontent.com/galaxyproject/planemo/master/$PLANEMO_DOC_TEST_PATH")
fi

0 comments on commit 324c776

Please sign in to comment.