Rename dev-requirements.txt to test-requirements.txt
This is a cosmetic change to bring our requirement.txt files inline with other OpenStack project. Change-Id: I759acbbe9655884815df512835353dbb009b002c Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
e440cdea3a
commit
5715151e22
@ -26,8 +26,8 @@ info_block "Running Basic Ansible Lint Check"
|
||||
|
||||
|
||||
# Install the development requirements.
|
||||
if [ -f "dev-requirements.txt" ]; then
|
||||
pip2 install -r dev-requirements.txt || pip install -r dev-requirements.txt
|
||||
if [ -f "test-requirements.txt" ]; then
|
||||
pip2 install -r test-requirements.txt || pip install -r test-requirements.txt
|
||||
fi
|
||||
|
||||
pushd doc
|
||||
|
@ -28,8 +28,8 @@ info_block "Running Basic Ansible Lint Check"
|
||||
source $(dirname ${0})/bootstrap-ansible.sh
|
||||
|
||||
# Install the development requirements.
|
||||
if [ -f "dev-requirements.txt" ]; then
|
||||
pip2 install -r dev-requirements.txt || pip install -r dev-requirements.txt
|
||||
if [ -f "test-requirements.txt" ]; then
|
||||
pip2 install -r test-requirements.txt || pip install -r test-requirements.txt
|
||||
else
|
||||
pip2 install ansible-lint || pip install ansible-lint
|
||||
fi
|
||||
|
4
tox.ini
4
tox.ini
@ -7,7 +7,7 @@ envlist = docs,pep8,bashate
|
||||
usedevelop = True
|
||||
install_command = pip install -U {opts} {packages}
|
||||
setenv = VIRTUAL_ENV={envdir}
|
||||
deps = -r{toxinidir}/dev-requirements.txt
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
|
||||
[testenv:docs]
|
||||
commands=
|
||||
@ -15,7 +15,7 @@ commands=
|
||||
|
||||
# environment used by the -infra templated docs job
|
||||
[testenv:venv]
|
||||
deps = -r{toxinidir}/dev-requirements.txt
|
||||
deps = -r{toxinidir}/test-requirements.txt
|
||||
commands = {posargs}
|
||||
|
||||
# Run hacking/flake8 check for all python files
|
||||
|
Loading…
Reference in New Issue
Block a user