From f9e3b89332c747293966d78ac52a8a5eff02bf62 Mon Sep 17 00:00:00 2001 From: Fabian Meumertzheim Date: Sat, 8 Jul 2023 00:29:45 +0200 Subject: [PATCH] Enable `//tests/...` in CI --- .bazelci/presubmit.yml | 2 ++ tests/system_library/BUILD | 3 +++ 2 files changed, 5 insertions(+) diff --git a/.bazelci/presubmit.yml b/.bazelci/presubmit.yml index 5e9f9a6..8d7899d 100644 --- a/.bazelci/presubmit.yml +++ b/.bazelci/presubmit.yml @@ -17,6 +17,7 @@ x_defaults: - "//examples/my_c_compile:all" - "//examples/write_cc_toolchain_cpu:all" - "//tools/migration:all" + - "//tests/..." test_flags: - "--test_timeout=120" test_targets: @@ -29,6 +30,7 @@ x_defaults: - "//examples/my_c_compile:all" - "//examples/write_cc_toolchain_cpu:all" - "//tools/migration:all" + - "//tests/..." buildifier: version: latest diff --git a/tests/system_library/BUILD b/tests/system_library/BUILD index 5990b35..abc1392 100644 --- a/tests/system_library/BUILD +++ b/tests/system_library/BUILD @@ -7,4 +7,7 @@ sh_test( "//cc:system_library.bzl", "@bazel_tools//tools/bash/runfiles", ], + target_compatible_with = [ + "@platforms//os:linux", + ], )