Skip to content

Commit a498ec3

Browse files
committed
ci: speed up Windows phase
As Unix shell scripting comes at a hefty price on Windows, we have to see where we can save some time to run the test suite. Let's skip the chain linting and the bin-wrappers/ redirection on Windows; this seems to shave of anywhere between 10-30% from the overall runtime. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent a336083 commit a498ec3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ci/lib.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,8 @@ then
127127
export GIT_PROVE_OPTS="--timer --jobs 10 --state=failed,slow,save"
128128
export GIT_TEST_OPTS="--verbose-log -x --write-junit-xml"
129129
export MAKEFLAGS="--jobs=10"
130+
test windows_nt != "$CI_OS_NAME" ||
131+
GIT_TEST_OPTS="--no-chain-lint --no-bin-wrappers $GIT_TEST_OPTS"
130132
else
131133
echo "Could not identify CI type" >&2
132134
exit 1

0 commit comments

Comments
 (0)