Skip to content

Commit

Permalink
Merge pull request #549 from bobvanderlinden/pr-python-poetry-test
Browse files Browse the repository at this point in the history
examples: python-poetry: add test
  • Loading branch information
domenkozar authored Apr 23, 2023
2 parents 4e838d4 + 92cc064 commit 110d5e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions examples/python-poetry/.test.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
#!/bin/sh
set -ex
[ "$(readlink .venv)" = "$PWD/.devenv/state/venv" ]
[ "$(poetry env info --path)" = "$PWD/.devenv/state/venv" ]
[ "$(command -v python)" = "$PWD/.devenv/state/venv/bin/python" ]
python --version
poetry --version
poetry run python -c 'import numpy'
python -c 'import numpy'

0 comments on commit 110d5e3

Please sign in to comment.