Permalink
Browse files

Fix for running doc test script outside Planemo project directory.

To enable planemo-machine testing of documentation examples.
  • Loading branch information...
jmchilton committed May 25, 2018
1 parent 6e68144 commit 324c77665465e35261b0583cf8883e62a5cf06ac
Showing with 7 additions and 1 deletion.
  1. +7 −1 scripts/run_doc_test.sh
@@ -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.