-
Notifications
You must be signed in to change notification settings - Fork 2
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: update test suite for use with jax-galsim #17
Conversation
OK @rmjarvis this is ready for review. I made a change to the codecov.yml config to ignore the tests. However, there is an issue with the upload in the CI. They want you to make a token and use their GHA thing I think. I had to do this elsewhere. Only you have the access to do this, so I think it'll have to wait for another PR. |
Yeah, I've switch to that style in a few places too. |
OK, you should be able to rebase to main now and get correct coverage reports. |
Alrighty then! @rmjarvis this one is really ready for review now! |
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.
I have questions.
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.
changes for CR.
Also, you'll need to properly rebase this. GitHub is complaining. |
ok done with all of the comments @rmjarvis! We should squash and merge the history here if this PR is approved. |
Update helper_util.py TST move assert for raises to other tests TST move assert for raises to other tests TST move assert for raises to other tests TST use absolute tolerance to compare to zero TST use absolute tolerance to compare to zero TST use absolute tolerance to compare to zero TST use absolute tolerance to compare to zero TST use absolute tolerance to compare to zero raises different error raises different error fix: adjust coverage to exclude tests fix: changes for CR fix: this is a unit Update tests/helper_util.py Apply suggestions from code review Remove docs on main build docs TST do not reimport coord TST move assert for raises to other tests TST move assert for raises to other tests TST move assert for raises to other tests TST use absolute tolerance to compare to zero TST use absolute tolerance to compare to zero TST use absolute tolerance to compare to zero TST use absolute tolerance to compare to zero fix: remove docs again fix: adjust coverage to exclude tests fix: changes for CR Update tests/helper_util.py Apply suggestions from code review
9a5f2bc
to
ed168fe
Compare
OK @rmjarvis this is all rebased into a single commit. |
This PR updates the coord test suite so that it can be used with jax-galsim. The updates include