-
-
Notifications
You must be signed in to change notification settings - Fork 136
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: Improve minimal init, test launching #616
test: Improve minimal init, test launching #616
Conversation
I see that the tests for Neovim |
I am having difficulties replicating the test failure for |
Seems good now, the last change was only because I caught some caching in the workflow that may have been missed prior to that commit with my changes. Not sure why |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the PR! This looks great!
I think we can fix the Windows support (haven't tested it though) with the below comment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for going back and forth. Just few more fixes/changes.
9c28651
to
cc99dff
Compare
Those "4 commits" are rebases over previous commits to address the previous comments while keeping the git history clean as a heads up. |
This ensures that any caching that may occur between these works properly so we aren't checking these repositories out twice. The minimal init will not checkout if those dependencies exist at the correct path.
9386863
to
703481c
Compare
*6 commits now :/ Missed the CI checkout for the deps. I haven't found anything else, unless you find something I think (see hope) this is good to go. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's just clean up the workflow steps that are not necessary any more and I think it's good to go.
We now download these deps as part of the minimal init
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good now, thanks!
Hey there! This PR "luafies" the tests and removes the need to
git clone
test dependencies ahead of time by doing the clone process in the minimal init.git clone
any test dependencies, instead the minimal init handles that for you.rm -rf
to clean up after itself. I know there's a bit of a push to get better windows support. I noticed the issues and I think I may have a solution in another PR. If therm -rf
doesn't run it's not a big deal for now.tesfile
command and instead allowed a testfile to be specified for themake test
command and if one is not found it fallbacks to tests/plenaryFILE=./tests/plenary/util_spec.lua make test
for instance 😉.I know there weren't any open issues for this, but I found it slightly annoying to have to run
git clone
before doing any testing. If this PR is undesired feel free to reject it.