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