Skip to content

Commit

Permalink
Merge pull request #6 from octodns/install_only_test_requirements_for…
Browse files Browse the repository at this point in the history
…_cibuild_test

install only test requirements
  • Loading branch information
beechesII authored Jan 8, 2025
2 parents e731ba0 + 91a860e commit b3ad538
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion script/cibuild-setup-py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,10 @@ python -m build --sdist --wheel
echo "## validate wheel install ###################################################"
pip install dist/*$VERSION*.whl
echo "## validate tests can run against installed code ###############################"
pip install -r requirements-dev.txt
# filename needs to resolved independently as pip requires quoting and doesn't support
# wildcards when installing extra requirements
# (see: https://pip.pypa.io/en/stable/user_guide/#installing-from-wheels)
wheel_file=$(ls dist/*$VERSION*.whl)
pip install "${wheel_file}[test]"
pytest --disable-network
echo "## complete ####################################################################"

0 comments on commit b3ad538

Please sign in to comment.