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:
parent
991918e9d2
commit
5b6321e45d
1 changed files with 10 additions and 1 deletions
|
@ -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',
|
||||
|
|
Loading…
Reference in a new issue