Skip to content

Commit

Permalink
[ci] Do not run Python tests for debug CI jobs
Browse files Browse the repository at this point in the history
This partially reverts #3203 – python tests still run across platforms, but they
are simply too slow for the debug job.
  • Loading branch information
fhanau committed Dec 24, 2024
1 parent 9ea4f87 commit f7fa1a6
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion build/ci.bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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=

0 comments on commit f7fa1a6

Please sign in to comment.