Skip to content

Commit 5742415

Browse files
tests/requirements.txt is added
1 parent 76444f2 commit 5742415

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

run_tests.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ rm -rf $VENV_PATH
1818
virtualenv --python="/usr/bin/python${PYTHON_VERSION}" "${VENV_PATH}"
1919
export VIRTUAL_ENV_DISABLE_PROMPT=1
2020
source "${VENV_PATH}/bin/activate"
21-
pip install coverage flake8 psutil Sphinx pytest pytest-xdist psycopg2 six psutil
21+
pip install -r tests/requirements.txt
22+
pip install coverage flake8 Sphinx
2223

2324
# install testgres' dependencies
2425
export PYTHONPATH=$(pwd)

run_tests2.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ rm -rf $VENV_PATH
2424
python -m venv "${VENV_PATH}"
2525
export VIRTUAL_ENV_DISABLE_PROMPT=1
2626
source "${VENV_PATH}/bin/activate"
27-
pip install coverage flake8 psutil Sphinx pytest pytest-xdist psycopg2 six psutil
27+
pip install -r tests/requirements.txt
28+
pip install coverage flake8 Sphinx
2829

2930
# install testgres' dependencies
3031
export PYTHONPATH=$(pwd)

tests/requirements.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
psutil
2+
pytest
3+
pytest-xdist
4+
psycopg2
5+
six

0 commit comments

Comments
 (0)