node-js: run tests with target test-only (#49516)

This commit is contained in:
Wouter Deconinck 2025-03-21 09:52:26 -05:00 committed by GitHub
parent c98ee6d8ac
commit b7eb0308d4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -246,7 +246,8 @@ def build(self, spec, prefix):
@run_after("build") @run_after("build")
@on_package_attributes(run_tests=True) @on_package_attributes(run_tests=True)
def build_test(self): def build_test(self):
make("test") # Note: target "test" requires a full git checkout with linters
make("test-only")
make("test-addons") make("test-addons")
def install(self, spec, prefix): def install(self, spec, prefix):