Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5d40976

Browse files
committed
Try to work in all LF on Cygwin CI
+ Style tweak and comment to clarify the "Limit $PATH" step.
1 parent3276aac commit5d40976

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎.github/workflows/cygwin-test.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@ jobs:
99
fail-fast:false
1010
env:
1111
CHERE_INVOKING:1
12-
SHELLOPTS:igncr
1312
TMP:"/tmp"
1413
TEMP:"/tmp"
1514
defaults:
@@ -19,7 +18,7 @@ jobs:
1918
steps:
2019
-name:Force LF line endings
2120
run:|
22-
git config --global core.autocrlfinput
21+
git config --global core.autocrlffalse # 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.autocrlffalse
4041
4142
-name:Prepare this repo for tests
4243
run:|
@@ -70,5 +71,4 @@ jobs:
7071
7172
-name:Test with pytest
7273
run:|
73-
set +x
7474
python -m pytest --color=yes -p no:sugar --instafail -vv

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp