Skip to content

Commit acaa42e

Browse files
vdyedscho
authored andcommitted
ci: run contrib/subtree tests in CI builds
Because `git subtree` (unlike most other `contrib` modules) is included as part of the standard release of Git for Windows, its stability should be verified as consistently as it is for the rest of git. By including the `git subtree` tests in the CI workflow, these tests are as much of a gate to merging and indicator of stability as the standard test suite. Signed-off-by: Victoria Dye <vdye@github.com>
1 parent 627aa8a commit acaa42e

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

Diff for: ci/run-build-and-tests.sh

+4
Original file line numberDiff line numberDiff line change
@@ -73,5 +73,9 @@ case "$jobname" in
7373
;;
7474
esac
7575

76+
case " $MAKE_TARGETS " in
77+
*" all "*) make -C contrib/subtree test;;
78+
esac
79+
7680
check_unignored_build_artifacts
7781
save_good_tree

Diff for: ci/run-test-slice.sh

+3
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,7 @@ if [ "$1" == "0" ] ; then
2020
group "Run unit tests" make --quiet -C t unit-tests-test-tool
2121
fi
2222

23+
# Run the git subtree tests only if main tests succeeded
24+
test 0 != "$1" || make -C contrib/subtree test
25+
2326
check_unignored_build_artifacts

0 commit comments

Comments
 (0)