From f4eb06109c14337c9e1ef3e05c2a625e25d30257 Mon Sep 17 00:00:00 2001 From: Alex Eagle Date: Mon, 20 Mar 2023 11:20:02 -0700 Subject: [PATCH] chore: disable a test on windows It has wrong slashes or doesn't handle runfiles correctly --- examples/source_map_support/test/BUILD.bazel | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/examples/source_map_support/test/BUILD.bazel b/examples/source_map_support/test/BUILD.bazel index 7847b2d..24504e3 100644 --- a/examples/source_map_support/test/BUILD.bazel +++ b/examples/source_map_support/test/BUILD.bazel @@ -14,6 +14,12 @@ js_test( name = "stack_trace_support_test", data = [":compile"], entry_point = ":a.js", + target_compatible_with = select({ + # TODO(jbedard): fix CI failure, like + # https://github.com/aspect-build/rules_swc/actions/runs/4471322159/jobs/7856057314?pr=187 + "@platforms//os:windows": ["@platforms//:incompatible"], + "//conditions:default": [], + }), ) js_test( @@ -21,4 +27,10 @@ js_test( chdir = "examples", data = [":compile"], entry_point = ":a.js", + target_compatible_with = select({ + # TODO(jbedard): fix CI failure, like + # https://github.com/aspect-build/rules_swc/actions/runs/4471322159/jobs/7856057314?pr=187 + "@platforms//os:windows": ["@platforms//:incompatible"], + "//conditions:default": [], + }), )