Mercurial > repos > lain > history_metadata_extractor
comparison planemo_test.sh @ 0:426b0f85a311 draft
" master branch Updating"
| author | lain |
|---|---|
| date | Tue, 19 Jul 2022 07:36:57 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| -1:000000000000 | 0:426b0f85a311 |
|---|---|
| 1 #!/bin/sh | |
| 2 | |
| 3 | |
| 4 ## **@AUTHOR**: Lain Pavot - lain.pavot@inrae.fr | |
| 5 ## **@DATE**: 22/06/2022 | |
| 6 | |
| 7 VENV=.venv | |
| 8 TEST_DIR=/tmp/history_metadata_extractor | |
| 9 | |
| 10 if [ ! -d ".venv" ];then | |
| 11 python3 -m virtualenv ${VENV} ; | |
| 12 fi | |
| 13 | |
| 14 | |
| 15 . ${VENV}/bin/activate | |
| 16 | |
| 17 if [ "$(which planemo)" = "" ];then | |
| 18 pip install planemo ; | |
| 19 fi | |
| 20 | |
| 21 | |
| 22 if [ ! -d "${TEST_DIR}" ];then | |
| 23 planemo conda_install --conda_prefix ${TEST_DIR} . ; | |
| 24 fi | |
| 25 | |
| 26 planemo lint --fail_level error ./*.xml || exit 255 ; | |
| 27 | |
| 28 planemo test \ | |
| 29 --install_galaxy \ | |
| 30 --conda_dependency_resolution \ | |
| 31 --conda_prefix ${TEST_DIR} \ | |
| 32 --no_cleanup \ | |
| 33 --no_wait \ | |
| 34 --simultaneous_uploads \ | |
| 35 ${TEST_FLAGS} \ | |
| 36 history_metadata_extractor.xml \ | |
| 37 ; |
