File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 9
9
fail-fast : false
10
10
env :
11
11
CHERE_INVOKING : 1
12
- SHELLOPTS : igncr
13
12
TMP : " /tmp"
14
13
TEMP : " /tmp"
15
14
defaults :
19
18
steps :
20
19
- name : Force LF line endings
21
20
run : |
22
- git config --global core.autocrlf input
21
+ git config --global core.autocrlf false # Affects the non-Cygwin git.
23
22
shell : bash
24
23
25
24
- uses : actions/checkout@v4
@@ -32,11 +31,13 @@ jobs:
32
31
packages : python39 python39-pip python39-virtualenv git
33
32
34
33
- 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.
36
36
37
- - name : Tell git to trust this repo
37
+ - name : Special configuration for Cygwin's git
38
38
run : |
39
39
git config --global --add safe.directory "$(pwd)"
40
+ git config --global core.autocrlf false
40
41
41
42
- name : Prepare this repo for tests
42
43
run : |
70
71
71
72
- name : Test with pytest
72
73
run : |
73
- set +x
74
74
python -m pytest --color=yes -p no:sugar --instafail -vv
You can’t perform that action at this time.
0 commit comments