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 change classification. (#28345)

This commit is contained in:
Matt Clay 2017-08-17 10:25:33 -07:00 committed by GitHub
parent 83ac480241
commit 66fa46fdda

View file

@ -404,6 +404,24 @@ class PathMapper(object):
if filename == 'platform_agnostic.yaml':
return minimal # network integration test playbook not used by ansible-test
for command in (
'integration',
'windows-integration',
'network-integration',
):
if name == command:
return {
command: self.integration_all_target,
}
if name.startswith('cloud-config-'):
cloud_target = 'cloud/%s/' % name.split('-')[2].split('.')[0]
if cloud_target in self.integration_targets_by_alias:
return {
'integration': cloud_target,
}
return {
'integration': self.integration_all_target,
'windows-integration': self.integration_all_target,