git/ci
Johannes Schindelin d7971544fe ci(*-leaks): skip the git-svn tests to save time
I noticed recently that the leak-checking jobs still take a lot of time,
and upon analysis, the git-svn tests contribute significantly to this.

Analyzing a recent CI run, I saw that the Git test suite contains
1,017 tests, running for approximately 5¼ hours total. Of these, 65
git-svn-related tests (~6% of test count) took 42.24 minutes combined,
accounting for ~13.% of the total runtime. This implies that the git-svn
tests are roughly twice as expernsive compared to the other tests.

However, testing git-svn in the leak-checking jobs provides minimal
value: git-svn is implemented as a Perl script, and leak checking only
handles C code. While git-svn does call into Git's built-in commands
that are implemented in C, these are standard Git operations that are
already thoroughly exercised elsewhere in the test suite. Therefore,
running the git-svn tests in the leak-checking jobs only adds to the
overall run time with little value in return.

Given that the leak-checking jobs are particularly time-intensive and
these 42+ minutes of SVN tests per job provide no additional leak
detection value, skip them in the *-leaks jobs to reduce CI runtime.

Assisted-by: Claude Sonnet 4.5
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2026-01-17 10:23:59 -08:00
..
config ci: deprecate ci/config/allow-ref script 2023-08-30 15:56:11 -07:00
util
check-directional-formatting.bash ci: unify bash calling convention 2024-07-08 16:23:05 -07:00
check-unsafe-assertions.sh ci: add build checking for side-effects in assert() calls 2025-03-21 03:32:04 -07:00
check-whitespace.sh check-whitespace: detect if no base_commit is provided 2024-07-23 09:56:50 -07:00
install-dependencies.sh Merge branch 'jc/ci-use-arm64-p4-on-macos' 2025-11-17 07:00:12 -08:00
install-sdk.ps1 ci: create script to set up Git for Windows SDK 2024-10-09 11:33:04 -07:00
lib.sh ci(*-leaks): skip the git-svn tests to save time 2026-01-17 10:23:59 -08:00
make-test-artifacts.sh ci(github): use grouping also in the `win-build` job 2022-06-13 09:58:41 -07:00
mount-fileshare.sh
print-test-failures.sh ci: allow github-actions print test failures again 2025-07-16 14:09:51 -07:00
run-build-and-minimal-fuzzers.sh fuzz: port fuzz-url-decode-mem from OSS-Fuzz 2024-10-16 18:14:11 -04:00
run-build-and-tests.sh Merge branch 'ps/rust-balloon' 2025-10-08 12:17:55 -07:00
run-rust-checks.sh ci: verify minimum supported Rust version 2025-10-15 08:10:17 -07:00
run-static-analysis.sh Merge branch 'kn/meson-hdr-check' 2025-05-05 14:56:25 -07:00
run-style-check.sh clang-format: add 'RemoveBracesLLVM' to the main config 2025-07-02 09:05:29 -07:00
run-test-slice.sh ci: stop linking the `prove` cache 2025-05-05 14:15:19 -07:00
test-documentation.sh ci: don't compile whole project when testing docs with Meson 2025-09-11 09:57:25 -07:00