mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
Enable Python 3.7 in ansible-test.
This commit is contained in:
@@ -103,6 +103,7 @@ SUPPORTED_PYTHON_VERSIONS = (
|
||||
'2.7',
|
||||
'3.5',
|
||||
'3.6',
|
||||
'3.7',
|
||||
)
|
||||
|
||||
COMPILE_PYTHON_VERSIONS = SUPPORTED_PYTHON_VERSIONS
|
||||
|
||||
@@ -42,6 +42,10 @@ class AnsibleDocTest(SanityMultipleVersion):
|
||||
if not modules:
|
||||
return SanitySkipped(self.name, python_version=python_version)
|
||||
|
||||
# ansible-doc fails due to async syntax errors on Python 3.7 currently
|
||||
if python_version == '3.7':
|
||||
return SanitySkipped(self.name, python_version=python_version)
|
||||
|
||||
env = ansible_environment(args, color=False)
|
||||
cmd = ['ansible-doc'] + modules
|
||||
|
||||
|
||||
Reference in New Issue
Block a user