summaryrefslogtreecommitdiff
path: root/tox.ini
diff options
context:
space:
mode:
authorJohn L. Villalovos <john.l.villalovos@intel.com>2017-04-05 14:49:42 -0700
committerJohn L. Villalovos <john.l.villalovos@intel.com>2017-04-05 16:41:52 -0700
commit0616c7485cfe1cb213d9f37ea1db35c8656281f1 (patch)
treeb0ae1814a2f9b95d11d4f444ffc31df723498ac9 /tox.ini
parent28c48ea68fb0e97bd82e787320b20427233c0680 (diff)
downloadironic-0616c7485cfe1cb213d9f37ea1db35c8656281f1.tar.gz
Enforce releasenotes file naming
Ensure that releasenotes file naming matches how 'reno new' creates them. Change-Id: I796f928995fce27ca871e26d8694c655a21d0861
Diffstat (limited to 'tox.ini')
-rw-r--r--tox.ini4
1 files changed, 3 insertions, 1 deletions
diff --git a/tox.ini b/tox.ini
index 0514c95a0..789a91194 100644
--- a/tox.ini
+++ b/tox.ini
@@ -83,7 +83,9 @@ commands =
sphinx-build -W -b html -d api-ref/build/doctrees api-ref/source api-ref/build/html
[testenv:releasenotes]
-commands = sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
+commands =
+ {toxinidir}/tools/check-releasenotes.py
+ sphinx-build -a -E -W -d releasenotes/build/doctrees -b html releasenotes/source releasenotes/build/html
[testenv:install-guide]
commands = sphinx-build -a -E -W -d install-guide/build/doctrees -b html install-guide/source install-guide/build/html