Skip to content

Commit 4171333

Browse files
committed
fix CI by allowing the file protocol as well.
1 parent 183cf35 commit 4171333

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.github/workflows/cygwin-test.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,9 @@ jobs:
2828
packages: python39 python39-pip python39-virtualenv git
2929
- name: Tell git to trust this repo
3030
shell: bash.exe -eo pipefail -o igncr "{0}"
31-
run: /usr/bin/git config --global --add safe.directory $(pwd)
31+
run: |
32+
/usr/bin/git config --global --add safe.directory $(pwd)
33+
/usr/bin/git config --global protocol.file.allow always
3234
- name: Install dependencies and prepare tests
3335
shell: bash.exe -eo pipefail -o igncr "{0}"
3436
run: |

.github/workflows/pythonpackage.yml

+5
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,11 @@ jobs:
6060
set -x
6161
mypy -p git
6262
63+
- name: Tell git to trust this repo
64+
run: |
65+
/usr/bin/git config --global --add safe.directory $(pwd)
66+
/usr/bin/git config --global protocol.file.allow always
67+
6368
- name: Test with pytest
6469
run: |
6570
set -x

0 commit comments

Comments
 (0)