From 50f47c8cb5c56f9104616ab21c66d7f5e9198561 Mon Sep 17 00:00:00 2001 From: Monty Taylor Date: Wed, 13 Sep 2017 14:17:53 -0600 Subject: [PATCH] Don't run python unitests on docs changes Leave them in place for pep8, as people do doc linting in their pep8 jobs. Change-Id: Ib43935f4df046893b268f7ec8b1a942814669be5 --- zuul.yaml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/zuul.yaml b/zuul.yaml index a5fec558..acd41ff9 100644 --- a/zuul.yaml +++ b/zuul.yaml @@ -89,6 +89,10 @@ Run unit tests for an OpenStack Python project under cPython version 2.7. Uses tox with the ``py27`` environment. + irrelevant-files: + - ^.*\.rst$ + - ^doc/.*$ + - ^releasenotes/.*$ vars: tox_envlist: py27 @@ -99,6 +103,10 @@ Run unit tests for an OpenStack project under cPython version 3.4. Uses tox with the ``py34`` environment. + irrelevant-files: + - ^.*\.rst$ + - ^doc/.*$ + - ^releasenotes/.*$ vars: tox_envlist: py34 @@ -109,6 +117,10 @@ Run unit tests for an OpenStack project under cPython version 3.5. Uses tox with the ``py35`` environment. + irrelevant-files: + - ^.*\.rst$ + - ^doc/.*$ + - ^releasenotes/.*$ vars: tox_envlist: py35 @@ -139,6 +151,10 @@ Run code coverage tests. Uses tox with the ``cover`` environment. + irrelevant-files: + - ^.*\.rst$ + - ^doc/.*$ + - ^releasenotes/.*$ vars: tox_envlist: cover