mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 22:02:50 +00:00
Reorganize integration tests:
- Move legacy tests into a separate directory. - Reduce common dependencies between targets.
This commit is contained in:
@@ -375,6 +375,9 @@ class PathMapper(object):
|
||||
if path.startswith('test/results/'):
|
||||
return minimal
|
||||
|
||||
if path.startswith('test/legacy/'):
|
||||
return minimal
|
||||
|
||||
if path.startswith('test/integration/roles/'):
|
||||
return minimal
|
||||
|
||||
@@ -405,6 +408,9 @@ class PathMapper(object):
|
||||
if self.prefixes.get(name) == 'network' and ext == '.yaml':
|
||||
return minimal # network integration test playbooks are not used by ansible-test
|
||||
|
||||
if filename == 'network-all.yaml':
|
||||
return minimal # network integration test playbook not used by ansible-test
|
||||
|
||||
if filename == 'platform_agnostic.yaml':
|
||||
return minimal # network integration test playbook not used by ansible-test
|
||||
|
||||
|
||||
Reference in New Issue
Block a user