mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-25 11:51:26 -07:00
Enable codecov.io and add coverage grouping.
This commit is contained in:
parent
a23f503286
commit
6a2a7a2392
6 changed files with 131 additions and 22 deletions
|
@ -858,7 +858,7 @@ def intercept_command(args, cmd, target_name, capture=False, env=None, data=None
|
|||
version = python_version or args.python_version
|
||||
interpreter = find_executable('python%s' % version)
|
||||
coverage_file = os.path.abspath(os.path.join(inject_path, '..', 'output', '%s=%s=%s=%s=coverage' % (
|
||||
args.command, target_name, args.coverage_label or 'local-%s' % version, version)))
|
||||
args.command, target_name, args.coverage_label or 'local-%s' % version, 'python-%s' % version)))
|
||||
|
||||
env['PATH'] = inject_path + os.pathsep + env['PATH']
|
||||
env['ANSIBLE_TEST_PYTHON_VERSION'] = version
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue