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
Don't run the tests before the dependencies are actually installed #227
Conversation
Pull Request images published ✨ |
just for my understanding - when do tests for other extensions run?
FYI: some of them are already broken, so I guess they are never run: |
I suppose the Che-specific extensions were just ported from Che-Theia as it is. I don't remember someone working on any GitHub Action for running the tests. The only way I know is to run |
Build 3.7 :: code_3.x/675: Console, Changes, Git Data |
Build 3.7 :: sync-to-downstream_3.x/3495: Console, Changes, Git Data |
@azatsarynnyy So, I'm able to provide a change to the extension, but I'm not able to compile only this extension - I have to build all assembly... |
It fixes the issue of installing the extension's dependencies. In your example, running I've also never seen the
|
What does this PR do?
Recently, running the test for the
che-commands
extensions was bound before the dependencies installation phase.While it works well when building Che-Code assembly from the root of the project, running the dependencies installation solely for the
che-commands
extension fails. It's because the script depends on thegulp
binary which isn't installed yet.It affects the downstream build.
After merging this PR, the tests for
che-commands
extensions can be run the same way as for other extensions - by callingyarn test
command, e.g:che-code/code/extensions/html-language-features/server/package.json
Line 30 in 8cf7bbc
What issues does this PR fix?
It's needed for https://issues.redhat.com/browse/CRW-3160
How to test this PR?
After running
cd code/extensions/che-commands && yarn
the extension's dependencies should be installed successfully, without the error: