Skip to content

Commit

Permalink
fix CI by allowing the file protocol as well.
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Nov 28, 2022
1 parent 183cf35 commit 4171333
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/cygwin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,9 @@ jobs:
packages: python39 python39-pip python39-virtualenv git
- name: Tell git to trust this repo
shell: bash.exe -eo pipefail -o igncr "{0}"
run: /usr/bin/git config --global --add safe.directory $(pwd)
run: |
/usr/bin/git config --global --add safe.directory $(pwd)
/usr/bin/git config --global protocol.file.allow always
- name: Install dependencies and prepare tests
shell: bash.exe -eo pipefail -o igncr "{0}"
run: |
Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,11 @@ jobs:
set -x
mypy -p git
- name: Tell git to trust this repo
run: |
/usr/bin/git config --global --add safe.directory $(pwd)
/usr/bin/git config --global protocol.file.allow always
- name: Test with pytest
run: |
set -x
Expand Down

0 comments on commit 4171333

Please sign in to comment.