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

Test addon build with embroider #930

Merged
merged 1 commit into from May 1, 2020
Merged

Test addon build with embroider #930

merged 1 commit into from May 1, 2020

Conversation

simonihmig
Copy link
Contributor

Closes #915

Currently not working, due to some ember-prism related build failure w/ embroider. #929 would fix that...

@simonihmig simonihmig force-pushed the test-embroider branch 4 times, most recently from 6f56efe to edf3e98 Compare January 2, 2020 23:13
@jelhan
Copy link
Contributor

jelhan commented Jan 5, 2020

Not sure if I got it correctly but seems like we can't remove the dependency on ember-cli-fastboot-testing but at the same time we can't include it cause it brakes Embroider. If that's the case, did you tried keeping the FastBoot dependency but setting FASTBOOT_DISABLED=true while running the embroider test? If that doesn't work removing the FastBoot related tests from the build might be another approach? There is an example how to do it in this Discourse topic.

@simonihmig
Copy link
Contributor Author

Not sure if I got it correctly but seems like we can't remove the dependency on ember-cli-fastboot-testing but at the same time we can't include it cause it brakes Embroider.

Correct.

If that's the case, did you tried keeping the FastBoot dependency but setting FASTBOOT_DISABLED=true while running the embroider test? If that doesn't work removing the FastBoot related tests from the build might be another approach? There is an example how to do it in this Discourse topic.

Thanks for the suggestions. I just pushed a commit with a combination of those (and blacklisting ember-cli-fastboot-testing). Which solves the issue of a failing build, and most tests should pass now. With a couple of exceptions, which seem to be caused by an Embroider issue, specifically the {{hasBlock}} helper is somehow not working. Already investigated this, will file an issue tomorrow...

@simonihmig
Copy link
Contributor Author

Blocked on embroider-build/embroider#373

@simonihmig
Copy link
Contributor Author

Rebased this, and with the latest dependencies this is passing now! 🎉
Seems the issues have been fixed upstream, through we still have to disable FastBoot due to embroider-build/embroider#184.

@simonihmig simonihmig changed the title WIP: Test addon build with embroider Test addon build with embroider May 1, 2020
@simonihmig simonihmig merged commit b95d1dd into master May 1, 2020
@simonihmig simonihmig deleted the test-embroider branch May 1, 2020 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add Embroider test scenario
2 participants