Skip to content

Commit a1e5cf7

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]>
1 parent fa5cacd commit a1e5cf7

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
@@ -42,6 +42,8 @@ then
4242
BREW_INSTALL_PACKAGES=
4343
export GIT_PROVE_OPTS="--timer --jobs 10 --state=failed,slow,save"
4444
export GIT_TEST_OPTS="--verbose-log -x --write-junit-xml"
45+
test windows_nt != "$CI_OS_NAME" ||
46+
GIT_TEST_OPTS="--no-chain-lint --no-bin-wrappers $GIT_TEST_OPTS"
4547
fi
4648

4749
skip_branch_tip_with_tag () {

0 commit comments

Comments
 (0)