Files
git-mirror/ci/run-test-slice.sh
Junio C Hamano 19a08e0c02 Revert "Merge branch 'ps/ci-gitlab-msvc-updates' into next"
This reverts commit 378f67d678, reversing
changes made to 5e3bc9f2b9.

Direct arithmetic operations (like +, -, *, /) are not directly
supported within GitHub Actions expressions inside ${{ ... }}
syntax.

Invalid workflow file: .github/workflows/main.yml#L1
(Line: 153, Col: 12): Unexpected symbol: '+'. Located at position 11
within expression: matrix.nr + 1, (Line: 301, Col: 12): Unexpected
symbol: '+'. Located at position 11 within expression: matrix.nr + 1
2026-02-10 14:10:48 -08:00

19 lines
408 B
Bash
Executable File

#!/bin/sh
#
# Test Git in parallel
#
. ${0%/*}/lib.sh
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
# We only have one unit test at the moment, so run it in the first slice
if [ "$1" == "0" ] ; then
group "Run unit tests" make --quiet -C t unit-tests-test-tool
fi
check_unignored_build_artifacts