pikarpov-LANL / Sapsan

ML-based turbulence modeling for astrophysics
https://sapsan-wiki.github.io
Other
13 stars 4 forks source link

Add GitHub workflow to run unit tests #129

Closed MilesCranmer closed 3 years ago

MilesCranmer commented 3 years ago

Hi @pikarpov-LANL,

Here's a workflow to run all the tests on each new commit. Thanks again for building this package!

Cheers, Miles

pikarpov-LANL commented 3 years ago

I am glad you have enjoyed it and hope it will come in useful! Before I accept the pull request, could you please clarify how the proposed unittest testing is different from the current pytest implementation Sapsan is running on every commit. Check out pythonpackage.yml.

MilesCranmer commented 3 years ago

Ah, my apologies, I didn't realize that .yml file already ran the test suite! :-) Will close this.