Skip to content
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

Add test framework #9

Open
reubenharry opened this issue Sep 4, 2023 · 0 comments
Open

Add test framework #9

reubenharry opened this issue Sep 4, 2023 · 0 comments
Assignees

Comments

@reubenharry
Copy link
Collaborator

reubenharry commented Sep 4, 2023

Nothing fancy, but when code is pushed to a branch, CI (continuous integration) should automatically run whatever tests we deem important. This could include:

  • alignment of old and new versions of sampler
  • convergence of sampler on simple benchmarks
  • unit test for correctness of integrator
  • a check that the (numerically sensible) momentum update in the code aligns with the mathematical formula from the paper

But need not include anything for now.

I'm going to do this with PyTest, and github's CI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant