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

Split out cibuild-setup-py

This commit is contained in:
Ross McFarland
2022-03-27 07:42:35 -07:00
parent b4d66c3f91
commit 45123a4c81
3 changed files with 32 additions and 12 deletions

View File

@@ -26,16 +26,4 @@ echo "## lint ##################################################################
script/lint
echo "## tests/coverage ##############################################################"
script/coverage
echo "## validate setup.py build #####################################################"
python setup.py build
echo "## validate setup.py install ###################################################"
deactivate
TMP_DIR=$(mktemp -d -t ci-XXXXXXXXXX)
python3 -m venv $TMP_DIR
. "$TMP_DIR/bin/activate"
python setup.py install
octodns-sync --help
echo "## validate tests can run against installed code ###############################"
pip install pytest pytest-network
pytest --disable-network
echo "## complete ####################################################################"