Skip to content

Commit

Permalink
ci: run contrib/subtree tests in CI builds
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
vdye authored and dscho committed Jun 3, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent 9f2bb4b commit 31aad70
Showing 2 changed files with 7 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/run-build-and-tests.sh
Original file line number Diff line number Diff line change
@@ -58,4 +58,8 @@ then
fi
check_unignored_build_artifacts

case " $MAKE_TARGETS " in
*" all "*) make -C contrib/subtree test;;
esac

save_good_tree
3 changes: 3 additions & 0 deletions ci/run-test-slice.sh
Original file line number Diff line number Diff line change
@@ -20,4 +20,7 @@ if [ "$1" == "0" ] ; then
group "Run unit tests" make --quiet -C t unit-tests-prove
fi

# Run the git subtree tests only if main tests succeeded
test 0 != "$1" || make -C contrib/subtree test

check_unignored_build_artifacts

0 comments on commit 31aad70

Please sign in to comment.