Browse Source

Revert back to .[dev], .[test] is not (yet) universally a thing

pull/951/head
Ross McFarland 3 years ago
parent
commit
927ca1e8bc
No known key found for this signature in database GPG Key ID: 943B179E15D3B22A
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      script/test-module

+ 4
- 2
script/test-module View File

@ -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


Loading…
Cancel
Save