mirror of
https://github.com/git/git
synced 2024-11-05 18:59:29 +00:00
dab73aebd8
The current output of Git's GitHub workflow can be quite confusing, especially for contributors new to the project. To make it more helpful, let's introduce some collapsible grouping. Initially, readers will see the high-level view of what actually happened (did the build fail, or the test suite?). To drill down, the respective group can be expanded. Note: sadly, workflow output currently cannot contain any nested groups (see https://github.com/actions/runner/issues/802 for details), therefore we take pains to ensure to end any previous group before starting a new one. Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
18 lines
388 B
Bash
Executable file
18 lines
388 B
Bash
Executable file
#!/bin/sh
|
|
#
|
|
# Test Git in parallel
|
|
#
|
|
|
|
. ${0%/*}/lib.sh
|
|
|
|
case "$CI_OS_NAME" in
|
|
windows*) cmd //c mklink //j t\\.prove "$(cygpath -aw "$cache_dir/.prove")";;
|
|
*) ln -s "$cache_dir/.prove" t/.prove;;
|
|
esac
|
|
|
|
group "Run tests" make --quiet -C t T="$(cd t &&
|
|
./helper/test-tool path-utils slice-tests "$1" "$2" t[0-9]*.sh |
|
|
tr '\n' ' ')" ||
|
|
handle_failed_tests
|
|
|
|
check_unignored_build_artifacts
|