Repository navigation
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-commandsextensions 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-commandsextension fails. It's because the script depends on thegulpbinary which isn't installed yet.It affects the downstream build.
After merging this PR, the tests for
che-commandsextensions can be run the same way as for other extensions - by callingyarn testcommand, 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 && yarnthe extension's dependencies should be installed successfully, without the error: