Skip to content

Commit 80843d2

Browse files
committed
Support more worker types for jacoco
1 parent 5e5b0ee commit 80843d2

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

rules/private/phases/phase_coverage_jacoco.bzl

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,14 @@ def phase_coverage_jacoco(ctx, g):
4444
outputs = [in_out_pair[1] for in_out_pair in in_out_pairs],
4545
executable = code_coverage_configuration.instrumentation_worker.files_to_run.executable,
4646
input_manifests = worker_input_manifests,
47-
execution_requirements = _resolve_execution_reqs(ctx, {"supports-workers": "1"}),
47+
execution_requirements = _resolve_execution_reqs(
48+
ctx,
49+
{
50+
"supports-multiplex-workers": "1",
51+
"supports-workers": "1",
52+
"supports-multiplex-sandboxing": "1",
53+
},
54+
),
4855
arguments = [args],
4956
)
5057

0 commit comments

Comments
 (0)