mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-30 14:21:26 -07:00
Fix ansible-test python and pip executable search.
This commit is contained in:
parent
dd37857884
commit
a8487feb70
14 changed files with 81 additions and 75 deletions
|
@ -16,6 +16,7 @@ from lib.util import (
|
|||
SubprocessError,
|
||||
run_command,
|
||||
display,
|
||||
find_python,
|
||||
)
|
||||
|
||||
from lib.config import (
|
||||
|
@ -50,7 +51,7 @@ class CompileTest(SanityMultipleVersion):
|
|||
if not paths:
|
||||
return SanitySkipped(self.name, python_version=python_version)
|
||||
|
||||
cmd = ['python%s' % python_version, 'test/sanity/compile/compile.py']
|
||||
cmd = [find_python(python_version), 'test/sanity/compile/compile.py']
|
||||
|
||||
data = '\n'.join(paths)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue