mirror of
https://github.com/git/git.git
synced 2026-02-27 18:29:43 +00:00
ci: make test slicing consistent across Meson/Make
In the preceding commit we have adjusted test slicing to be one-based when using the "ci/run-test-slice.sh" script. But we also have an equivalent script for Meson that is still zero-based, which is of course inconsistent. Adapt the script to be one-based, as well, and adapt the GitHub workflow accordingly. Note that GitLab doesn't yet use the script, so it does not need to be adapted. This will change in the next commit though. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
committed by
Junio C Hamano
parent
420b4ca2dc
commit
2cca4ef343
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
@@ -298,7 +298,7 @@ jobs:
|
||||
path: build
|
||||
- name: Test
|
||||
shell: bash
|
||||
run: ci/run-test-slice-meson.sh build ${{matrix.nr}} 10
|
||||
run: ci/run-test-slice-meson.sh build $((${{matrix.nr}} + 1)) 10
|
||||
- name: print test failures
|
||||
if: failure() && env.FAILED_TEST_ARTIFACTS != ''
|
||||
shell: bash
|
||||
|
||||
Reference in New Issue
Block a user