]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'js/windows-ci-path-fix'
authorJunio C Hamano <gitster@pobox.com>
Mon, 18 Oct 2021 22:47:58 +0000 (15:47 -0700)
committerJunio C Hamano <gitster@pobox.com>
Mon, 18 Oct 2021 22:47:58 +0000 (15:47 -0700)
The PATH used in CI job may be too wide and let incompatible dlls
to be grabbed, which can cause the build&test to fail.  Tighten it.

* js/windows-ci-path-fix:
  ci(windows): ensure that we do not pick up random executables

1  2 
.github/workflows/main.yml

index 59acc35d37654aded4f43c6cf0f2d540c2b3b19e,4e75701be9d67ad531c9c081114a31ba8971d6ad..6ed6a9e80761a22b8e0280a0f100164d5147571e
@@@ -198,7 -198,8 +198,7 @@@ jobs
        shell: bash
        env:
          NO_SVN_TESTS: 1
-       run: ci/run-test-slice.sh ${{matrix.nr}} 10
 -        GIT_TEST_SKIP_REBASE_P: 1
+       run: . /etc/profile && ci/run-test-slice.sh ${{matrix.nr}} 10
      - name: ci/print-test-failures.sh
        if: failure()
        shell: bash