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>
This commit is contained in:
Victoria Dye 2021-08-05 19:11:59 -04:00 коммит произвёл Johannes Schindelin
Родитель 133c92693a
Коммит 324fc305b6
2 изменённых файлов: 7 добавлений и 0 удалений

Просмотреть файл

@ -53,4 +53,8 @@ then
fi fi
check_unignored_build_artifacts check_unignored_build_artifacts
case " $MAKE_TARGETS " in
*" all "*) make -C contrib/subtree test;;
esac
save_good_tree save_good_tree

Просмотреть файл

@ -15,4 +15,7 @@ group "Run tests" make --quiet -C t T="$(cd t &&
tr '\n' ' ')" || tr '\n' ' ')" ||
handle_failed_tests handle_failed_tests
# Run the git subtree tests only if main tests succeeded
test 0 != "$1" || make -C contrib/subtree test
check_unignored_build_artifacts check_unignored_build_artifacts