Skip to content

Commit 1368e60

Browse files
committed
Retest gix-path and gix-testtools with git not in PATH
But only in the `test-fast` Windows jobs. This is to test that `gix-path` and `gix-testtools` can find `git` when it is in on of the common Git for Windows install locations.
1 parent 9cff479 commit 1368e60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,12 @@ jobs:
249249
run: |
250250
$git = Get-Command git -ErrorAction SilentlyContinue
251251
if ($null -eq $git) { exit 0 } else { exit 1 }
252+
- name: Retest gix-path without `git` in `PATH` (nextest)
253+
if: startsWith(matrix.os, 'windows')
254+
run: cargo nextest run -p gix-path --no-fail-fast -- ${{ matrix.test-args }}
255+
- name: Retest gix-testtools
256+
if: startsWith(matrix.os, 'windows')
257+
run: cargo nextest run -p gix-testtools --no-fail-fast -- ${{ matrix.test-args }}
252258

253259
test-fixtures-windows:
254260
strategy:

0 commit comments

Comments
 (0)