From 4171333c24bcbe978328c1be50911d633e57ca47 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Mon, 28 Nov 2022 15:11:31 +0100 Subject: fix CI by allowing the file protocol as well. --- .github/workflows/cygwin-test.yml | 4 +++- .github/workflows/pythonpackage.yml | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) (limited to '.github/workflows') diff --git a/.github/workflows/cygwin-test.yml b/.github/workflows/cygwin-test.yml index 6fe50124..c80070ef 100644 --- a/.github/workflows/cygwin-test.yml +++ b/.github/workflows/cygwin-test.yml @@ -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: | diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index adc51d29..5c698bae 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -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 -- cgit v1.2.1