Skip to content

Commit 695ec5f

Browse files
committed
another try
1 parent c4e00d9 commit 695ec5f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

.github/workflows/cygwin-test.yml

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
2525

2626
- name: Tell git to trust this directory
2727
run: |
28-
git config --global safe.directory *
28+
git config --global --add safe.directory *
2929
git config --global --add safe.directory /cygdrive/d/a/gitpython-639/gitpython-639
3030
git config --global --add safe.directory /cygdrive/d/a/gitpython-639/gitpython-639/.git
3131
@@ -70,5 +70,10 @@ jobs:
7070
7171
- name: Test with pytest
7272
run: |
73-
set +x
73+
set -x
74+
git config --global safe.directory *
75+
git config --global --add safe.directory /cygdrive/d/a/gitpython-639/gitpython-639
76+
git config --global --add safe.directory /cygdrive/d/a/gitpython-639/gitpython-639/.git
77+
/usr/bin/git config --global --add safe.directory "$(pwd)"
78+
/usr/bin/git config --global --add safe.directory "$(pwd)/.git"
7479
/usr/bin/python -m pytest

0 commit comments

Comments
 (0)