mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
build: run linter before running tests
PR-URL: https://github.com/nodejs/node/pull/16284 Fixes: https://github.com/node/issues/16283 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com> Reviewed-By: Refael Ackermann <refack@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Anatoli Papirovski <apapirovski@mac.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com>
This commit is contained in:
1 parent
d185bfdcef
commit
c8a3b2d171
1 file changed
+13
-1
@@ -213,15 +213,26 @@ test: all
|
||||
$(MAKE) build-addons
|
||||
$(MAKE) build-addons-napi
|
||||
$(MAKE) doc-only
|
||||
$(MAKE) lint
|
||||
$(MAKE) cctest
|
||||
$(PYTHON) tools/test.py --mode=release -J \
|
||||
$(CI_ASYNC_HOOKS) \
|
||||
$(CI_JS_SUITES) \
|
||||
$(CI_NATIVE_SUITES) \
|
||||
doctool known_issues
|
||||
$(MAKE) lint
|
||||
endif
|
||||
|
||||
# For a quick test, does not run linter or build doc
|
||||
test-only: all
|
||||
$(MAKE) build-addons
|
||||
$(MAKE) build-addons-napi
|
||||
$(MAKE) cctest
|
||||
$(PYTHON) tools/test.py --mode=release -J \
|
||||
$(CI_ASYNC_HOOKS) \
|
||||
$(CI_JS_SUITES) \
|
||||
$(CI_NATIVE_SUITES) \
|
||||
known_issues
|
||||
|
||||
test-cov: all
|
||||
$(MAKE) build-addons
|
||||
$(MAKE) build-addons-napi
|
||||
@@ -1107,6 +1118,7 @@ endif
|
||||
test-gc \
|
||||
test-gc-clean \
|
||||
test-hash-seed \
|
||||
test-only \
|
||||
test-v8 \
|
||||
test-v8-all \
|
||||
test-v8-benchmarks \
|
||||
|
||||
Reference in new issue
Block a user