From f7fa1a60accc670467b331da64d0d142d7ee20a1 Mon Sep 17 00:00:00 2001 From: Felix Hanau Date: Tue, 24 Dec 2024 10:56:43 -0500 Subject: [PATCH] [ci] Do not run Python tests for debug CI jobs MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This partially reverts #3203 – python tests still run across platforms, but they are simply too slow for the debug job. --- build/ci.bazelrc | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/build/ci.bazelrc b/build/ci.bazelrc index 6007eab85ac..33e57382769 100644 --- a/build/ci.bazelrc +++ b/build/ci.bazelrc @@ -24,7 +24,7 @@ test:ci --test_output=errors build:ci --disk_cache=~/bazel-disk-cache # test CI jobs don't need any top-level artifacts and just verify things -build:ci-test --remote_download_outputs=minimal --test_size_filters=small,medium,large,enormous +build:ci-test --remote_download_outputs=minimal # limit storage usage on ci # Exclude large benchmarking binaries created in debug and asan configurations to avoid @@ -71,3 +71,10 @@ build:ci-macOS-debug --config=debug build:ci-windows --config=windows_no_dbg build:ci-windows-debug --config=debug + +# Some tests (like Python import tests) take a long time to run, especially when debug is enabled +# For that reason, we only run them in the default configuration for each platform to minimize +# effect on CI pipeline runtime. +test:ci-linux --test_size_filters= +test:ci-macOS --test_size_filters= +test:ci-windows --test_size_filters=