-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix build on Windows #1648
Fix build on Windows #1648
Conversation
Apparently using |
EOL is irrelevant; we'll support what our supported eslint versions work on. |
cd1eae4
to
350eab9
Compare
Co-authored-by: Raphael von der Grün <[email protected]> Co-authored-by: Jordan Harband <[email protected]>
Playing around with the node or npm version in the CI config might serve to work around the issue of tests not running on Appveyor but it won't resolve the issue for someone cloning the repo to their local Windows machine. |
That is true. I'll keep playing with alternatives. |
d06d7b6
to
59a21c8
Compare
k, looks like adding in-publish, and downgrading npm on node 12, has exposed 50 failing tests, that seem legitimate. |
Regarding your changes to the |
|
Ah, I see. against the backdrop of trying to support as many What about the other part of my question?
|
there seems to be more issues on windows https://github.com/armano2/test-eslint-monorpo/actions/runs/36409848 |
@raphinesse no; that's what i added @armano2 the current appveyor failures in this PR seem to be legitimate issues on windows, yes. |
I think #1651 is the reason those tests fails |
7e4cd84
to
2df5331
Compare
appveyor.yml
Outdated
@@ -22,11 +22,10 @@ install: | |||
# Get the latest stable version of Node.js or io.js | |||
- ps: Install-Product node $env:nodejs_version | |||
|
|||
# Use [email protected] to work-around issues w/ nyc@<15 on Windows | |||
- npm install -g [email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please prefer the if-based check; this won't work on node 4, for example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Node 4 is commented out in the Appveyor config. I usually only consider live code. But this branch is exploratory anyhow. I do not find the npm
version pinning done here to be a satisfactory solution to the nyc
problem (see #1648 (comment)).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but the intention is to uncomment it.
Fair that it's exploratory, but we were down to 1 failing test before you both started force pushing everywhere :-)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As for local dev, the first step is to get CI working - all local dev by maintainers is done on a Mac.
Once CI is working, we can try to fix local Windows dev, for the rare contributor that uses it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, but the intention is to uncomment it.
Understood
Fair that it's exploratory, but we were down to 1 failing test before you both started force pushing everywhere :-)
Yes, but tests not running at all on Node 8 and 10.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Again, first step is to get CI passing somehow.
We can uncomment node 10, 8, 6, 4, etc on appveyor in a future PR.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As for local dev, the first step is to get CI working - all local dev by maintainers is done on a Mac.
Understood
2df5331
to
669b5e0
Compare
@ljharb I'm done force-pushing here. Can confirm that |
ad37d3f
to
73a0cfd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for all the legwork here! I'll merge this via #1651.
73a0cfd
to
8905007
Compare
It does still have to stay open until it’s merged tho :-) |
This fixes the package installation and test running on Windows to expose failing tests related to #1643.
More details in the commit messages.