diff --git a/run_tests.sh b/run_tests.sh index 65c17dbf..6a733b66 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -18,7 +18,8 @@ rm -rf $VENV_PATH virtualenv --python="/usr/bin/python${PYTHON_VERSION}" "${VENV_PATH}" export VIRTUAL_ENV_DISABLE_PROMPT=1 source "${VENV_PATH}/bin/activate" -pip install coverage flake8 psutil Sphinx pytest pytest-xdist psycopg2 six psutil +pip install -r tests/requirements.txt +pip install coverage flake8 Sphinx # install testgres' dependencies export PYTHONPATH=$(pwd) diff --git a/run_tests2.sh b/run_tests2.sh index 173b19dc..7e9e4cab 100755 --- a/run_tests2.sh +++ b/run_tests2.sh @@ -24,7 +24,8 @@ rm -rf $VENV_PATH python -m venv "${VENV_PATH}" export VIRTUAL_ENV_DISABLE_PROMPT=1 source "${VENV_PATH}/bin/activate" -pip install coverage flake8 psutil Sphinx pytest pytest-xdist psycopg2 six psutil +pip install -r tests/requirements.txt +pip install coverage flake8 Sphinx # install testgres' dependencies export PYTHONPATH=$(pwd) diff --git a/tests/requirements.txt b/tests/requirements.txt new file mode 100644 index 00000000..f4974514 --- /dev/null +++ b/tests/requirements.txt @@ -0,0 +1,5 @@ +psutil +pytest +pytest-xdist +psycopg2 +six