mirror of
https://github.com/git/git.git
synced 2026-03-05 23:09:04 +01:00
This reverts commit378f67d678, reversing changes made to5e3bc9f2b9. 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
14 lines
427 B
Bash
Executable File
14 lines
427 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# We must load the build options so we know where to find
|
|
# things like TEST_OUTPUT_DIRECTORY. This has to come before
|
|
# loading lib.sh, though, because it may clobber some CI lib
|
|
# variables like our custom GIT_TEST_OPTS.
|
|
. "$1"/GIT-BUILD-OPTIONS
|
|
. ${0%/*}/lib.sh
|
|
|
|
group "Run tests" \
|
|
meson test -C "$1" --no-rebuild --print-errorlogs \
|
|
--test-args="$GIT_TEST_OPTS" --slice "$((1+$2))/$3" ||
|
|
handle_failed_tests
|