From 2f7658cf02671072b6d068d2e37182bb3b5316db Mon Sep 17 00:00:00 2001 From: jheaff1 <48310225+jheaff1@users.noreply.github.com> Date: Wed, 22 Jun 2022 20:27:10 +0100 Subject: [PATCH] Speed up CI by preventing the python2 build from running tests (#930) --- examples/third_party/python/BUILD.python2.bazel | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/third_party/python/BUILD.python2.bazel b/examples/third_party/python/BUILD.python2.bazel index de45e877..b93d3f00 100644 --- a/examples/third_party/python/BUILD.python2.bazel +++ b/examples/third_party/python/BUILD.python2.bazel @@ -37,6 +37,11 @@ configure_make( "python2.7", ], out_data_dirs = ["lib"], + # Building these targets rather than the default prevents tests from being run, which take a while + targets = [ + "build_all", + "altinstall", + ], deps = [ "@openssl", "@zlib",