ci: the list of required suites and its fragments are checked out with LF on every system
test_the_rewritten_base_list_has_one_value_per_line_and_is_the_dump_of_its_content was red
on both Windows pytest legs of the first PR run (3cffd5ea): the runner checks text out with
CRLF, so the file on disk was not the dump of its content. The index has always held LF;
.gitattributes now pins it for ci/required-suites.json and ci/required-suites.d/*.json, as it
already does for .githooks.
This commit is contained in:
1 parent
3cffd5ea14
commit
8eb11a23f6
1 file changed
+6
@@ -28,3 +28,9 @@ ci/py-lock/** text eol=lf
|
||||
# The vendored bundles are third-party bytes whose sha256 is pinned in tests/vendor/README.md: no checkout converts their line endings
|
||||
# (a Windows runner with core.autocrlf=true would hand them over with CRLF and the hash would no longer match).
|
||||
tests/vendor/*.js -text
|
||||
|
||||
# The list of required suites and its fragments are compared as the exact dump of their content
|
||||
# (one value per line, LF): a Windows checkout with core.autocrlf=true would hand the judge
|
||||
# and the tests CRLF text that is not that dump.
|
||||
ci/required-suites.json text eol=lf
|
||||
ci/required-suites.d/*.json text eol=lf
|
||||
Reference in new issue
Block a user