Closed targos closed 4 years ago
Let's see if it works
Merging #314 into master will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #314 +/- ##
======================================
Coverage 74.1% 74.1%
======================================
Files 22 22
Lines 1398 1398
======================================
Hits 1036 1036
Misses 362 362
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update b4d10ed...e6b80cc. Read the comment docs.
Some tests fail because of CRLF.
Should we make the matrix a bit lighter? Maybe test with all node versions on Linux and only one on Windows and Mac?
@targos
Should we make the matrix a bit lighter? Maybe test with all node versions on Linux and only one on Windows and Mac?
Which one though? (I'd guess...11? Since people who uses this tend to live near the edge I guess..)
I think adding these to .gitattributes
should fix the Windows issue?
# auto detect text files
* text=auto
# we don't have actual binary files in this repo so just checkout everything with LF
*.* text eol=lf
I changed the matrix and created .gitattributes
: https://github.com/nodejs/node-core-utils/pull/314/checks
still failing on Windows... let me debug that on my machine.
I cannot reproduce on my Windows machine
Rebased. @joyeecheung do you think we still need the .gitattributes
?
There seems to still be issues with CRLF
Can you rebase and force push to see if Travis can pick the other fix up?
@joyeecheung it's what I did
@targos ah, sorry, didn't see the history (was on mobile)
The previous green Windows I got is on travis-ci.org instead of travis-ci.com, I wonder if that makes a difference... https://travis-ci.org/joyeecheung/node-core-utils/jobs/462560512
Also, looks like the failing tests are all comparing output to raw files contents, instead of e.g. parsed JSONs (EDIT: oh, but \r\n
in strings in the JSON still make a difference)
Fixes: https://github.com/nodejs/node-core-utils/issues/313