-
-
Notifications
You must be signed in to change notification settings - Fork 303
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
move tests to speed up ci. #1192
Conversation
…gic is manually copy from SpinalSimBmbInterconnectGeneratorTest to avoid cross reference.
now CI is only take 31 minutes for one run. |
<3 |
In general I'm all for this, but the unmanaged dependencies make me a bit weary. I understand that it doesn't compile without them as is, and I checked a few resources on how to structure this (i.e. this one: https://users.scala-lang.org/t/sbt-multi-project-dependencies/7948/8), pretty much all advise to have a separate subproject. I did a quick check and it seems that even if we have the test in the To be clear: there is no real technical reason I can point to. The main motivation is that I've been on and off debugging why SpinalHDL is so often rebuilt when running sbt from the command line and from googling I often found issues around unmanagedClasspath. It also seems weird to work around the package manager in that way if there is an alternative. |
So do you mean if we move core/src/test/scala/spinal/core directory into tester/src/test/scala/spinal/core would be better than put them into the core lib's test? |
How about Readon/SpinalHDL@move-tests this one? Does it work in your IDEA environment? |
I have tested on my server that "go to test" function could only jump to files that with the right filename, such as xxxTest.scala for yyy.scala which include xxx class's definition. However, for Axi4Upsizer and Axi4Downsizer it works. |
hmmm kind of like it (stuff still in tester module, but in proper separated packages) |
Closes #982 continue #1001
Context, Motivation & Description
distribute some tests in tester to speed up CI.
Impact on code generation
Checklist
/** */
?