diff options
author | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-24 16:13:52 +0100 |
---|---|---|
committer | Anderson Bravalheri <andersonbravalheri@gmail.com> | 2022-06-24 16:13:52 +0100 |
commit | c4d75999160385b1ec021dc41b8adb671f071942 (patch) | |
tree | b10a8b500315ea2faab5e239e16e3401efa9e6ea | |
parent | 669be5ef1d93e2fa088cc5d1dfd999e0db61abcf (diff) | |
download | python-setuptools-git-c4d75999160385b1ec021dc41b8adb671f071942.tar.gz |
Add workaround for git problems in cygwin
The changes here are based on the workaround discussed in:
https://github.com/actions/checkout/issues/766
Closes #3408.
-rw-r--r-- | .github/workflows/main.yml | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4a68822b..59ddc860 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -105,7 +105,9 @@ jobs: git, - name: Run tests shell: C:\cygwin\bin\env.exe CYGWIN_NOWINPATH=1 CHERE_INVOKING=1 C:\cygwin\bin\bash.exe -leo pipefail -o igncr {0} - run: tox + run: | + git config --global --add safe.directory "$GITHUB_WORKSPACE" + tox integration-test: needs: test |