MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / github

Function github

tools/scripts/android/matrix.py:349–362  ·  view source on GitHub ↗
(matrices, file, **kw)

Source from the content-addressed store, hash-verified

347
348
349def github(matrices, file, **kw):
350 for matrix in matrices:
351 comment(file, Kind.GhActions, fill_line(matrix.name, '='))
352 for ndk in matrix.ndks:
353 comment(file, Kind.GhActions, fill_line(ndk, '-'))
354 for build in matrix.builds_by_ndk[ndk]:
355 first = True
356 for prop in build.all_properties:
357 if first:
358 print(' - ', end='', file=file)
359 first = False
360 else:
361 print(' ', end='', file=file)
362 print(build.case_format(prop + ': {' + prop + '}', shell_value), file=file)
363
364
365ndk_regex = re.compile(r'^r(\d+)([a-z]?)(?:-beta(\d+))?$')

Callers

nothing calls this directly

Calls 4

commentFunction · 0.85
fill_lineFunction · 0.85
case_formatMethod · 0.80
printFunction · 0.50

Tested by

no test coverage detected