-
Notifications
You must be signed in to change notification settings - Fork 29.8k
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
test: test each block in addon.md contains js & cc #4411
Conversation
Allows more freedom in adding additional headings to addon.markdown, otherwise it'll try and convert each block under a heading to a test case. We need to have at least a .js and a .cc in order to have something to test. Fixes regression caused by adding a new 3rd-level heading in d5863bc
works locally LGTM |
Allows more freedom in adding additional headings to addon.markdown, otherwise it'll try and convert each block under a heading to a test case. We need to have at least a .js and a .cc in order to have something to test. Fixes regression caused by adding a new 3rd-level heading in d5863bc PR-URL: #4411 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Since we've now had a situation where a doc-only commit broke CI, is it worth revisiting the "no need to run doc-only PRs through CI" practice? I'd be all for a "every PR goes through CI, no exceptions" policy. Sure, it's rare and surprising when something like that breaks tests, but that's exactly the type of thing CI is there to surface. Alternatively, we could get rid of the "test the code in the docs" business in Or we can carry on as before as this wasn't that big a deal in the grand scheme of things. I'd prefer to seize an opportunity to reduce our tolerance for glitches though. |
Can we reduce the amount of stuff we'd build/test for in a doc only PR? When we introduced the merge-pr jenkins job we had options for doc-only PR's; can perhaps we can do something similar with node-test-pr? |
@jbergstroem Ooh, yes, that would be great. Just run the doc-relevant stuff and maybe only on a subset of platforms. |
@Trott could you create an issue in nodejs/build about it? I can do it otherwise. |
@jbergstroem Done. nodejs/build#287 |
Allows more freedom in adding additional headings to addon.markdown, otherwise it'll try and convert each block under a heading to a test case. We need to have at least a .js and a .cc in order to have something to test. Fixes regression caused by adding a new 3rd-level heading in d5863bc PR-URL: nodejs#4411 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Allows more freedom in adding additional headings to addon.markdown, otherwise it'll try and convert each block under a heading to a test case. We need to have at least a .js and a .cc in order to have something to test. Fixes regression caused by adding a new 3rd-level heading in d5863bc PR-URL: #4411 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Allows more freedom in adding additional headings to addon.markdown, otherwise it'll try and convert each block under a heading to a test case. We need to have at least a .js and a .cc in order to have something to test. Fixes regression caused by adding a new 3rd-level heading in d5863bc PR-URL: #4411 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Allows more freedom in adding additional headings to addon.markdown, otherwise it'll try and convert each block under a heading to a test case. We need to have at least a .js and a .cc in order to have something to test. Fixes regression caused by adding a new 3rd-level heading in d5863bc PR-URL: nodejs#4411 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Allows more freedom in adding additional headings to addon.markdown, otherwise it'll try and convert each block under a heading to a test case. We need to have at least a .js and a .cc in order to have something to test. Fixes regression caused by adding a new 3rd-level heading in d5863bc PR-URL: nodejs#4411 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Allows more freedom in adding additional headings to addon.markdown, otherwise it'll try and convert each block under a heading to a test case. We need to have at least a .js and a .cc in order to have something to test. Fixes regression caused by adding a new 3rd-level heading in d5863bc PR-URL: nodejs#4411 Reviewed-By: Myles Borins <myles.borins@gmail.com>
Allows more freedom in adding additional headings to addon.markdown,
otherwise it'll try and convert each block under a heading to a test
case. We need to have at least a .js and a .cc in order to have
something to test.
Fixes regression caused by adding a new 3rd-level heading in
d5863bc (breaking all CI)
/cc @nodejs/build @jasnell @thealphanerd