Conversation
…t/JPEC into sing_unit_tests
There was a problem hiding this comment.
I don't think so- I think this one got uploaded by accident. Oops
|
I think a lot of this can be combining the.dat files into a single HDF5 - this will mean only one data file needs to be added and we can also remove some of the read in functions within the actual testing script, since it can just be like |
|
We also have to make sure that the compile test passes! It looks like the workflow halts when we add a package to the repo, I will need to figure that out. I will do so over the weekend. |
test/runtests.jl
Outdated
| @@ -1,5 +1,4 @@ | |||
|
|
|||
|
|
|||
| using LinearAlgebra, BandedMatrices, Random, Test, DelimitedFiles, Printf #TODO: clean up imports - do we need all of these here? | |||
There was a problem hiding this comment.
I believe this is causing the issue that @matt-pharr raised with the build failing - the JPEC package isn't using BandedMatrices (it's not in the Project.toml), so I would expect the build to rightfully fail here. So that part of this call should be removed. Also, test is duplicated, so probably that too. And for the rest of them, if they're not in the Project.toml, we can't import them here I don't think, so they either need to be added or alternatives found. I think for the ones that are in there (LinearAlgebra, Printf), doing a using JPEC gives them to you for free without needed a using statement here. I think delimited files won't be needed if we switch to HDF5.
There was a problem hiding this comment.
That sounds good! I will look at cleaning up the imports and making sure the Project.toml matches the develop branch later this week
… sing_unit_tests to make sure we are testing the most recent version of the code
…th current develop branch. The fortran vacuum unit tests are causing a seg fault right now though
…il still. Seems to be the includes
…I think it is the includes
…ludes into sing test file. Probably gonna need to do a bigger fix
…ackage so it should pass the tests now
…g_unit_tests to keep branch up to date with develop
This needs clean up and some more development before it is merged with develop, but here is an early version of the sing_der unit test. We still need to add unit tests for the other sing.jl functions and clean up the sing_der one because there is currently a lot of clutter with it