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

Run doc tests in CI on wasm target #2528

Closed
wants to merge 13 commits into from
Closed

Conversation

ranile
Copy link
Member

@ranile ranile commented Mar 18, 2022

Description

Run doc tests in CI on wasm32-unknown-unknown target and on nightly toolchain

Fixes #2503

Limitations

  • SSR tests can't be run - we need a way to feature gate tokio in website-test

@ranile ranile added the A-ci Area: The continuous integration label Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
@github-actions
Copy link

github-actions bot commented Mar 18, 2022

Visit the preview URL for this PR (updated for commit 8a3c4e3):

https://yew-rs--pr2528-wasm-doc-tests-e2r64ek0.web.app

(expires Fri, 25 Mar 2022 16:04:54 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
github-actions[bot]
github-actions bot previously approved these changes Mar 18, 2022
i'm out of ideas
@@ -18,7 +18,7 @@ wasm-bindgen-futures = "0.4"
weblog = "0.3.0"
yew = { path = "../../packages/yew/", features = ["ssr"] }
yew-router = { path = "../../packages/yew-router/" }
tokio = { version = "1.15.0", features = ["full"] }
#tokio = { version = "1.15.0", features = ["full"] }
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this commented out? Shouldn't it be used in this example? If its not used maybe just remove the line?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Testing purposes. I was figuring out why CI is failing.

@ranile ranile marked this pull request as draft March 19, 2022 17:27
@ranile
Copy link
Member Author

ranile commented Mar 20, 2022

Closing this until trunk-rs/trunk#20 is a thing. Using wasm-bindgen-cli directly is very finicky

@ranile ranile closed this Mar 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-ci Area: The continuous integration
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make website-test run with wasm32-unknown-unkown target
2 participants