-
Notifications
You must be signed in to change notification settings - Fork 12.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
rustdoc-gui test suite not run on CI? #84550
Comments
@GuillaumeGomez this happens because you never installed
This makes me even more certain that both this testsuite and #84480 should be run unconditionally in CI. |
That only runs on x86_64-gnu-aux, which I think isn't run on PRs. I can't find any mentions of it at all except this one: rust/src/ci/github-actions/ci.yml Lines 406 to 407 in 06f0adb
Which job do you think it runs on? |
The one that is run by github actions (one of the 3 "checks" that is run when you open a PR). |
No, none of those jobs are |
And again, I really think this is the wrong approach and it should be run unconditionally. Otherwise it will break again in the future. |
I agree with you. The problem here is that installing puppeteer is quite tricky (because it requires a specific chrome instance). And I have no idea how to handle node/npm install on non-linux targets. |
Ok, can you instead add an assert to bootstrap that makes sure the tests aren't skipped on any linux platform? That should be easier than trying to get this to work on all tier 1 targets. |
Please don't do that, we're explicitly requesting it on one of the builders, so we can simply avoid marking the job as default and change the nodejs conditional to a requirement. |
@Mark-Simulacrum Any tip/example on how to do that? |
@GuillaumeGomez toggle this constant: Line 772 in 58bdb08
and give a hard error here: Lines 797 to 800 in 58bdb08
|
Actually it might even be nicer to leave DEFAULT on but add a Lines 775 to 777 in 58bdb08
|
That seems reasonable too. |
Ok, gonna send a PR for it tomorrow then! |
…fault, r=jsha Open impl blocks by default Fixes rust-lang#84558. Part of rust-lang#84422. As you can see on https://doc.rust-lang.org/nightly/nightly-rustc/rustc_middle/ty/context/struct.TyCtxt.html, impl blocks are currently not open by default whereas they should. I also realized that a test was outdated so I removed it and opened rust-lang#84550 because it seems like the rustdoc-gui test suite isn't run on CI... cc `@jyn514` r? `@jsha`
…st-suite-run, r=Mark-Simulacrum Enforce rustdoc-gui test-suite run Part of rust-lang#84550
Quick question: Is it documented already that node with some version is one of the optional requirements? |
I didn't put a requirement for the node version. And it's in the README in |
This was fixed by #84586. |
It seems like the rustdoc-gui test suite isn't run on CI because it fails when run locally (as it should) because recent changes modified DOM, making the
nojs-attr-pos
fail.cc @Mark-Simulacrum
The text was updated successfully, but these errors were encountered: