Skip to content

Commit 2ae17b9

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 <[email protected]>
1 parent b81f21a commit 2ae17b9

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ci/run-build-and-tests.sh

+4
Original file line numberDiff line numberDiff line change
@@ -53,4 +53,8 @@ then
5353
fi
5454
check_unignored_build_artifacts
5555

56+
case " $MAKE_TARGETS " in
57+
*" all "*) make -C contrib/subtree test;;
58+
esac
59+
5660
save_good_tree

ci/run-test-slice.sh

+3
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,7 @@ group "Run tests" make --quiet -C t T="$(cd t &&
1515
tr '\n' ' ')" ||
1616
handle_failed_tests
1717

18+
# Run the git subtree tests only if main tests succeeded
19+
test 0 != "$1" || make -C contrib/subtree test
20+
1821
check_unignored_build_artifacts

0 commit comments

Comments
 (0)