Skip to content

Commit 3dff821

Browse files
update python test script
1 parent f792a71 commit 3dff821

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

build/requirements.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
setuptools>=62.0
2+
pytest

build/setup_python_env.sh

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ rm -rf "${VENV_PATH}/${VENV_NAME}"
4040
${PYEXE} -m venv --clear "${VENV_PATH}/${VENV_NAME}" || error
4141
source "${VENV_PATH}/${VENV_NAME}/${PY_SCRIPTS}/activate" || error
4242
${PYEXE} -m pip install --upgrade pip || error
43-
${PYEXE} -m pip install "setuptools>=62.0" || error
44-
echo "***** Install Runtime"
43+
${PYEXE} -m pip install -r requirements.txt || error
44+
echo "***** Get and Install Runtime"
4545
RUNTIMEURL="https://api.github.com/repos/CloudRisk/rune-python-runtime/releases/latest"
4646
# Fetch the latest release data from the GitHub API
4747
release_data=$(curl -s $RUNTIMEURL)
@@ -58,6 +58,5 @@ else
5858
fi
5959
${PYEXE} -m pip install rune_runtime*-py3-*.whl --force-reinstall || error
6060
rm rune_runtime*-py3-*.whl
61-
${PYEXE} -m pip install pytest || error
6261
deactivate
6362

0 commit comments

Comments
 (0)