Comments (7)
For context, when doing the same in a local, clean ST build, I'm getting the same message and what I need to do to get that dependency registered in the loader is I have to manually trigger Package Control: Install Local Dependency
from the Command Palette and select lsp_utils
.
So I'm trying to figure out if there is some solution to that without involving any changes in PC itself since that would take a very long time, even if accepted.
from unittesting.
One, not that clean, solution that just came to my mind is:
- run
github.sh install_package LSP-pyright master https://github.com/sublimelsp/LSP-pyright.git
to install a package that requireslsp_utils
- run
github.sh install_package_control
to let PC install thelsp_utils
dependency - in the next CI step, manually delete the installed dependency and then add my local version
from unittesting.
One solution is to remove the .git
subdirectory of the repo. I remember I have to do it for one particular instance.
from unittesting.
If I do that then PC will overwrite the dependency directory with the latest released version instead of the one I want to test.
from unittesting.
My idea above seems to have worked (see sublimelsp/lsp_utils@759e975).
Obviously it's very hacky though and I would want to avoid referencing the Packages path in the CI workflow and rely completely on the original script...
from unittesting.
I thing we could add a flag to the bootstrap command so that the current repo is not copied to ST https://github.com/SublimeText/UnitTesting/blob/master/sbin/ci.sh#L29
And extract this part as a separate function which could then be called later to replace the installed dependency.
from unittesting.
Yeah, that should work. Was hoping we could find some alternative angle at this issue that I couldn't think of. :)
from unittesting.
Related Issues (20)
- Run hook on failed test
- macOS CI failing on install HOT 5
- disable CircleCi HOT 4
- sporadic macOS 11 CI failing to launch on GitHub Actions with kLSNoExecutableErr
- MacOS action hangs HOT 6
- GitHub Actions build with Ubuntu runner failing with 404 on xz-utils HOT 2
- GH actions fail to download binaries HOT 2
- GH Actions: timeout during Package Control installation HOT 9
- Ability to run single test methods or classes HOT 8
- Question: My plugin didn't generate files as it should HOT 2
- Test Current File ImportError failed to imports tests (ST4) HOT 1
- GitHub Actions macOS timeout installing Package Control HOT 3
- Coverage not generating HOT 23
- AttributeError: 'PackageManager' object has no attribute '_is_dependency'
- Coverage fails on MacOS / ST4
- ST3 regression HOT 2
- TypeError logging missing library HOT 4
- [MacOS, GithubActions]Timeout: Fail to install Package Control. HOT 2
- Enable warnings by default HOT 3
- Add support for `yield self.assert*(...)` HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from unittesting.