File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 99 fail-fast : false
1010 env :
1111 CHERE_INVOKING : 1
12- SHELLOPTS : igncr
1312 TMP : " /tmp"
1413 TEMP : " /tmp"
1514 defaults :
1918 steps :
2019 - name : Force LF line endings
2120 run : |
22- git config --global core.autocrlf input
21+ git config --global core.autocrlf false # Affects the non-Cygwin git.
2322 shell : bash
2423
2524 - uses : actions/checkout@v4
@@ -32,11 +31,13 @@ jobs:
3231 packages : python39 python39-pip python39-virtualenv git
3332
3433 - name : Limit $PATH to Cygwin
35- run : echo 'C:\cygwin\bin' >"$GITHUB_PATH"
34+ run : |
35+ echo 'C:\cygwin\bin' > "$GITHUB_PATH" # Overwrite it with just this.
3636
37- - name : Tell git to trust this repo
37+ - name : Special configuration for Cygwin's git
3838 run : |
3939 git config --global --add safe.directory "$(pwd)"
40+ git config --global core.autocrlf false
4041
4142 - name : Prepare this repo for tests
4243 run : |
7071
7172 - name : Test with pytest
7273 run : |
73- set +x
7474 python -m pytest --color=yes -p no:sugar --instafail -vv
You can’t perform that action at this time.
0 commit comments