-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Find an alternative to distribute Neo-VM test files #2971
Comments
How about make it a repo (i know you want to avoid), and add it to the core as a submodule. |
@Liaojinghui @lock9 No need just add ignore in the |
Why a new repository? I don't think we need a new repository to distribute the tests. It seems too much.
They have the Neo-VM repository as a submodule. I'm not sure if this will make any difference |
Release is a release, but when some new ones are added (which doesn't happen often, but still) we want the latest and greatest immediately. Other options:
Likely, I shouldn't be deciding on this one, I'm just too biased to solutions that'd be easier to integrate into third-party repos. |
Could you define 'latest'? Is it when it has been merged? Or are you making the changes yourself? |
I think he means the new merges that are not released yet. Otherwise other projects have to wait until the release to catch up. |
We're taking changes from the repo when we need to, like in nspcc-dev/neo-go@3e6ce3c And it's taken as is. And yes, waiting for the release is not a viable option, NeoGo usually has a compatible release in a day or two from C# release. When we have something to push into this set of tests, we do things like neo-project/neo-vm#453 |
I think we could have a copy in NeoGo and some script to sync. We have to do something when we sync anyway and a submodule update doesn't differ much from script invocation. Regular test runs will always have this data while the original set would stay here. @AnnaShaleva? |
What if we make a .zip file with the test folder after each build? And add the zip to the repository. Pros:
Cons:
|
I don't think we need to make the build process more complicated. Just let the tests be in the
We don't need the whole monorepo as a submodule.
Exactly, I'll create a prototype within the scope of nspcc-dev/neo-go#3204. To conclude, I'd suggest not to change things on the neo-project/neo side and close this issue as "not planned". |
Summary or problem description
The Neo VM project is being migrated to the Neo repository. Inside the Neo VM project, there are test specifications in JSON:
https://github.com/neo-project/neo-vm/tree/master/tests/Neo.VM.Tests/Tests
Other groups, like NSPCC, are using these tests. If we migrate the neo-vm repository, they will need to download the entire mono repo to access it.
Do you have any solution you want to propose?
We should distribute these tests using some other form. I'm against creating a new repository for it. I propose distributing these files as part of the release (compress the folder and add it as a release artifact).
Neo Version
Where in the software does this update apply?
The text was updated successfully, but these errors were encountered: