1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

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

This commit is contained in:
Ross McFarland
2022-10-16 17:46:23 -07:00
parent 3125d1f7aa
commit 927ca1e8bc

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