Skip to content
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

source tarballs does not work without installing eslint #17098

Closed
joyeecheung opened this issue Nov 17, 2017 · 7 comments
Closed

source tarballs does not work without installing eslint #17098

joyeecheung opened this issue Nov 17, 2017 · 7 comments
Labels
build Issues and PRs related to build files or the CI.

Comments

@joyeecheung
Copy link
Member

  • Version: v9.x
  • Subsystem: build

Since #16138 we started to test the eslint rules, which requires tools/eslint to be present, but the eslint is not bundled inside the source tarballs and neither are there any rules in the makefile (or vcbuild.bat?) that try to install one, so those tests will always fail without manually running npm install first.

@joyeecheung
Copy link
Member Author

There are some different options to solve this:

  1. Make it install when tools/eslint is not present
  2. Make a special test rule for offline testing and skip doc/eslint tests

@richardlau
Copy link
Member

Maybe introduce a common.skipIfNoeslint for the tests to skip if tools/eslint is not present?

@mscdex mscdex added the build Issues and PRs related to build files or the CI. label Nov 17, 2017
@kasicka
Copy link

kasicka commented Jan 4, 2018

Maybe move eslint tests out of parallel and add test-offline to Makefile.

@joyeecheung
Copy link
Member Author

@kasicka Well we do have test-internet though it's not normally run...

@kasicka
Copy link

kasicka commented Jan 5, 2018

I write faster than I think.. still eslint tests should be moved out of parallel/

@kasicka
Copy link

kasicka commented Mar 8, 2018

I think this can be closed, fixed by #18807

@cjihrig
Copy link
Contributor

cjihrig commented Mar 8, 2018

Thanks. Closing.

@cjihrig cjihrig closed this as completed Mar 8, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI.
Projects
None yet
Development

No branches or pull requests

5 participants