From d4c3fefc4a792193428d9ae91125696c5ac2fa2f Mon Sep 17 00:00:00 2001 From: Daniel Ciborowski Date: Tue, 14 Mar 2023 11:23:28 -0400 Subject: Add pytest to Python Feature (#487) * Update install.sh * Update install_additional_python.sh * Update install_os_provided_python.sh * Update install_via_oryx.sh * Update test.sh * Update devcontainer-feature.json --- test/python/install_additional_python.sh | 2 ++ test/python/install_os_provided_python.sh | 4 +++- test/python/install_via_oryx.sh | 4 +++- test/python/test.sh | 2 ++ 4 files changed, 10 insertions(+), 2 deletions(-) (limited to 'test/python') diff --git a/test/python/install_additional_python.sh b/test/python/install_additional_python.sh index caf2a19..d584f4b 100755 --- a/test/python/install_additional_python.sh +++ b/test/python/install_additional_python.sh @@ -21,6 +21,7 @@ check "mypy" mypy --version check "pycodestyle" pycodestyle --version check "pydocstyle" pydocstyle --version check "pylint" pylint --version +check "pytest" pytest --version # Check paths in settings check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python" @@ -34,6 +35,7 @@ check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy" check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle" check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle" check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint" +check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest" # Report result reportResults diff --git a/test/python/install_os_provided_python.sh b/test/python/install_os_provided_python.sh index 3eb014c..e39b514 100755 --- a/test/python/install_os_provided_python.sh +++ b/test/python/install_os_provided_python.sh @@ -20,6 +20,7 @@ check "mypy" mypy --version check "pycodestyle" pycodestyle --version check "pydocstyle" pydocstyle --version check "pylint" pylint --version +check "pytest" pytest --version # Check paths in settings check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python" @@ -33,6 +34,7 @@ check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy" check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle" check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle" check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint" +check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest" # Report result -reportResults \ No newline at end of file +reportResults diff --git a/test/python/install_via_oryx.sh b/test/python/install_via_oryx.sh index 3eb014c..e39b514 100755 --- a/test/python/install_via_oryx.sh +++ b/test/python/install_via_oryx.sh @@ -20,6 +20,7 @@ check "mypy" mypy --version check "pycodestyle" pycodestyle --version check "pydocstyle" pydocstyle --version check "pylint" pylint --version +check "pytest" pytest --version # Check paths in settings check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python" @@ -33,6 +34,7 @@ check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy" check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle" check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle" check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint" +check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest" # Report result -reportResults \ No newline at end of file +reportResults diff --git a/test/python/test.sh b/test/python/test.sh index 832763d..038826d 100755 --- a/test/python/test.sh +++ b/test/python/test.sh @@ -20,6 +20,7 @@ check "mypy" mypy --version check "pycodestyle" pycodestyle --version check "pydocstyle" pydocstyle --version check "pylint" pylint --version +check "pytest" pytest --version # Check paths in settings check "current symlink is correct" bash -c "which python | grep /usr/local/python/current/bin/python" @@ -33,6 +34,7 @@ check "which mypy" bash -c "which mypy | grep /usr/local/py-utils/bin/mypy" check "which pycodestyle" bash -c "which pycodestyle | grep /usr/local/py-utils/bin/pycodestyle" check "which pydocstyle" bash -c "which pydocstyle | grep /usr/local/py-utils/bin/pydocstyle" check "which pylint" bash -c "which pylint | grep /usr/local/py-utils/bin/pylint" +check "which pytest" bash -c "which pytest | grep /usr/local/py-utils/bin/pytest" # Report result reportResults -- cgit v1.2.3