Skip to content

Commit 674026d

Browse files
tests/requirements.txt is added
1 parent dd1c2a2 commit 674026d

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-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: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Sphinx
2+
psutil
3+
pytest
4+
pytest-xdist
5+
psycopg2
6+
six
7+
psutil

0 commit comments

Comments
 (0)