summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJohn L. Villalovos <openstack.org@sodarock.com>2018-02-22 11:01:21 -0800
committerRuby Loo <ruby.loo@intel.com>2018-03-02 12:20:27 +0000
commitfabcf1a402e430c09242e72302f60f14cefa240b (patch)
tree28986154f3dcf34f59457372bd580d94862b444a /tox.ini
parente68d1a71b19a2ebb78bac40ebe99f3a4cf910636 (diff)
downloadironic-fabcf1a402e430c09242e72302f60f14cefa240b.tar.gz
Move execution of 'tools/check-releasenotes.py' to pep8
The 'releasenotes' gate job does not run our tox section. This allowed a releasenote to land that had a filename in an incorrect format because it was not created with 'reno new'. Move the running of 'tools/check-releasenotes.py' to the pep8 section and whitelist the releasenote that got merged. Change-Id: Id5bd8e0cbc9186c89f682224088a8f23998d59c3
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini3
1 files changed, 2 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 9eed2f0f3..39b2f2f82 100644
--- a/tox.ini
+++ b/tox.ini
@@ -36,6 +36,8 @@ commands =
{toxinidir}/tools/run_bashate.sh {toxinidir}
# Check the *.rst files
doc8 README.rst CONTRIBUTING.rst doc/source --ignore D001
+ # Check to make sure reno releasenotes created with 'reno new'
+ {toxinidir}/tools/check-releasenotes.py
[testenv:cover]
setenv = VIRTUAL_ENV={envdir}
@@ -88,7 +90,6 @@ commands =
[testenv:releasenotes]
commands =
- {toxinidir}/tools/check-releasenotes.py
sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:venv]