]> git.ipfire.org Git - thirdparty/git.git/commitdiff
github: fix Meson tests not executing at all
authorPatrick Steinhardt <ps@pks.im>
Thu, 19 Feb 2026 06:25:30 +0000 (07:25 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 19 Feb 2026 18:22:31 +0000 (10:22 -0800)
While the win+Meson test jobs run in GitHub workflows, the shell script
that is supposed to run the jobs is seemingly not running at all. All
that the CI job prints is the following:

  Run ci/run-test-slice-meson.sh build 1 10
    ci/run-test-slice-meson.sh build 1 10
    shell: C:\Program Files\PowerShell\7\pwsh.EXE -command ". '{0}'"
    env:
      DEVELOPER: 1

The step is currently defined to use PowerShell, and of course it
doesn't know how to execute POSIX shell scripts. What's surprising
though is that this step doesn't even lead to a CI failure.

Fix the issue by using Bash instead of PowerShell, as we do in other
steps that execute shell scripts.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
.github/workflows/main.yml

index ec1a6609816e935425699880796d4e513aaf440c..a011d8d0f93bed0956dd9dec8da71169d30a389a 100644 (file)
@@ -297,7 +297,7 @@ jobs:
         name: windows-meson-artifacts
         path: build
     - name: Test
-      shell: pwsh
+      shell: bash
       run: ci/run-test-slice-meson.sh build ${{matrix.nr}} 10
     - name: print test failures
       if: failure() && env.FAILED_TEST_ARTIFACTS != ''