File tree Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Expand file tree Collapse file tree 1 file changed +15
-9
lines changed Original file line number Diff line number Diff line change @@ -10,30 +10,36 @@ jobs:
1010 fail-fast : false
1111
1212 env :
13- CHERE_INVOKING : 1
14- TMP : " /tmp"
15- TEMP : " /tmp"
13+ CHERE_INVOKING : " 1"
14+ CYGWIN_NOWINPATH : " 1"
1615
1716 defaults :
1817 run :
19- shell : C:\cygwin\bin\bash.exe --noprofile --norc -exo pipefail -o igncr "{0}"
18+ shell : C:\cygwin\bin\bash.exe --login --norc -eo pipefail -o igncr "{0}"
2019
2120 steps :
2221 - name : Force LF line endings
2322 run : |
2423 git config --global core.autocrlf false # Affects the non-Cygwin git.
25- shell : bash
24+ shell : bash # Use Git Bash instead of Cygwin Bash for this step.
2625
2726 - uses : actions/checkout@v4
2827 with :
2928 fetch-depth : 0
3029 submodules : recursive
3130
32- - uses : cygwin/cygwin-install-action@v4
31+ - name : Install Cygwin
32+ uses : cygwin/cygwin-install-action@v4
3333 with :
3434 packages : python39 python39-pip python39-virtualenv git
35+ add-to-path : false # No need to change $PATH outside the Cygwin environment.
3536
36- - name : Special configuration for Cygwin's git
37+ - name : Arrange for verbose output
38+ run : |
39+ # Arrange for verbose output but without shell environment setup details.
40+ echo 'set -x' >~/.bash_profile
41+
42+ - name : Special configuration for Cygwin git
3743 run : |
3844 git config --global --add safe.directory "$(pwd)"
3945 git config --global core.autocrlf false
5763
5864 - name : Install project and test dependencies
5965 run : |
60- python -m pip install ".[test]"
66+ pip install ".[test]"
6167
6268 - name : Show version and platform information
6369 run : |
7177
7278 - name : Test with pytest
7379 run : |
74- python -m pytest --color=yes -p no:sugar --instafail -vv
80+ pytest --color=yes -p no:sugar --instafail -vv
You can’t perform that action at this time.
0 commit comments