1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Update ansible-test handling of setup.py changes.

This commit is contained in:
Matt Clay 2017-08-11 09:54:34 -07:00
parent 991918e9d2
commit 5b6321e45d

View file

@ -346,6 +346,11 @@ class PathMapper(object):
return all_tests(self.args) # broad impact, run all tests return all_tests(self.args) # broad impact, run all tests
if path.startswith('packaging/'): if path.startswith('packaging/'):
if path.startswith('packaging/requirements/'):
return {
'integration': 'ansible',
}
return minimal return minimal
if path.startswith('test/compile/'): if path.startswith('test/compile/'):
@ -452,7 +457,6 @@ class PathMapper(object):
'COPYING', 'COPYING',
'VERSION', 'VERSION',
'Makefile', 'Makefile',
'setup.py',
): ):
return minimal return minimal
@ -462,6 +466,11 @@ class PathMapper(object):
): ):
return all_tests(self.args) # test infrastructure, run all tests return all_tests(self.args) # test infrastructure, run all tests
if path == 'setup.py':
return {
'integration': 'ansible',
}
if path == '.yamllint': if path == '.yamllint':
return { return {
'sanity': 'all', 'sanity': 'all',