From 5b6321e45dd79161924c15085ed2e5d632f66ed2 Mon Sep 17 00:00:00 2001 From: Matt Clay Date: Fri, 11 Aug 2017 09:54:34 -0700 Subject: [PATCH] Update ansible-test handling of setup.py changes. --- test/runner/lib/classification.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/test/runner/lib/classification.py b/test/runner/lib/classification.py index 381a5a62a62..8359121100f 100644 --- a/test/runner/lib/classification.py +++ b/test/runner/lib/classification.py @@ -346,6 +346,11 @@ class PathMapper(object): return all_tests(self.args) # broad impact, run all tests if path.startswith('packaging/'): + if path.startswith('packaging/requirements/'): + return { + 'integration': 'ansible', + } + return minimal if path.startswith('test/compile/'): @@ -452,7 +457,6 @@ class PathMapper(object): 'COPYING', 'VERSION', 'Makefile', - 'setup.py', ): return minimal @@ -462,6 +466,11 @@ class PathMapper(object): ): return all_tests(self.args) # test infrastructure, run all tests + if path == 'setup.py': + return { + 'integration': 'ansible', + } + if path == '.yamllint': return { 'sanity': 'all',