|
|
|
@ -24,9 +24,9 @@ echo "## checkout provider module ############################################## |
|
|
|
cd $TMP_DIR |
|
|
|
git clone "https://github.com/${module}.git" |
|
|
|
cd $(basename $module) |
|
|
|
echo "## install module test requirements #############################################" |
|
|
|
echo "## install module dev requirements #############################################" |
|
|
|
if [ -e setup.py ]; then |
|
|
|
pip install -e .[test] pytest-network |
|
|
|
pip install -e .[dev] pytest-network |
|
|
|
elif [ -f pyproject.toml ]; then |
|
|
|
# install poetry |
|
|
|
pip install poetry |
|
|
|
@ -38,6 +38,8 @@ else |
|
|
|
echo "Unrecognized module management. Supports setup.py and poetry" |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|
echo "## installed modules ###########################################################" |
|
|
|
pip freeze |
|
|
|
echo "## run module tests ############################################################" |
|
|
|
export PYTHONPATH=.:$PYTHONPATH |
|
|
|
if [ -e setup.py ]; then |
|
|
|
|