mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
updated ansible-test integration to skip any files in test/integration/targets/ that aren't directories.
Fixes #26007
This commit is contained in:
parent
26fec4f107
commit
b2d88f8b73
1 changed files with 2 additions and 1 deletions
|
@ -254,6 +254,7 @@ def walk_integration_targets():
|
||||||
prefixes = load_integration_prefixes()
|
prefixes = load_integration_prefixes()
|
||||||
|
|
||||||
for path in paths:
|
for path in paths:
|
||||||
|
if os.path.isdir(path):
|
||||||
yield IntegrationTarget(path, modules, prefixes)
|
yield IntegrationTarget(path, modules, prefixes)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue