@@ -10,30 +10,36 @@ jobs:
1010fail-fast :false
1111
1212env :
13- CHERE_INVOKING :1
14- TMP :" /tmp"
15- TEMP :" /tmp"
13+ CHERE_INVOKING :" 1"
14+ CYGWIN_NOWINPATH :" 1"
1615
1716defaults :
1817run :
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
2120steps :
2221 -name :Force LF line endings
2322run :|
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
2827with :
2928fetch-depth :0
3029submodules :recursive
3130
32- -uses :cygwin/cygwin-install-action@v4
31+ -name :Install Cygwin
32+ uses :cygwin/cygwin-install-action@v4
3333with :
3434packages :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
3743run :|
3844 git config --global --add safe.directory "$(pwd)"
3945 git config --global core.autocrlffalse
5763
5864 -name :Install project and test dependencies
5965run :|
60- python -m pip install ".[test]"
66+ pip install ".[test]"
6167
6268 -name :Show version and platform information
6369run :|
7177
7278 -name :Test with pytest
7379run :|
74- python -m pytest --color=yes -p no:sugar --instafail -vv
80+ pytest --color=yes -p no:sugar --instafail -vv