Skip to content

Commit

Permalink
Merge pull request #42 from z-bsod/main
Browse files Browse the repository at this point in the history
script/cibuild-setup-py: install all dev requirements for testing
  • Loading branch information
ross authored Jan 7, 2025
2 parents 7011a39 + 4a93121 commit 661c1e8
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 pytest pytest-network
# 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 661c1e8

Please sign in to comment.