Merge "Verify JSON files in the CI"
This commit is contained in:
commit
595c36f192
3
tox.ini
3
tox.ini
@ -13,9 +13,12 @@ deps = -r{toxinidir}/requirements.txt
|
|||||||
commands = stestr run --slowest {posargs}
|
commands = stestr run --slowest {posargs}
|
||||||
|
|
||||||
[testenv:linters]
|
[testenv:linters]
|
||||||
|
whitelist_externals = bash
|
||||||
commands =
|
commands =
|
||||||
# Check the *.rst files
|
# Check the *.rst files
|
||||||
doc8 README.rst guidelines
|
doc8 README.rst guidelines
|
||||||
|
# Check the JSON files
|
||||||
|
bash -c 'for f in guidelines/*.json; do echo Checking "$f"; python -m json.tool "$f" /dev/null || exit 1; done'
|
||||||
|
|
||||||
[testenv:venv]
|
[testenv:venv]
|
||||||
commands = {posargs}
|
commands = {posargs}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user