CESR-lab / ucla-roms

GNU General Public License v3.0
5 stars 11 forks source link

Automated testing #30

Closed dafyddstephenson closed 3 months ago

dafyddstephenson commented 3 months ago

Hi all, This PR allows automated testing when code is pushed to GitHub. You can see an example here. This primarily involves the addition of files used by the GitHub runner (VM) handling the testing, but also includes some modifications to the test cases themselves.

Modifications related to CI

New files related to CI

Unrelated bugfix

Appreciate that there's a lot here so happy to discuss in the comments! Dafydd

dafyddstephenson commented 3 months ago

Hi again @nmolem , I finally got what we discussed yesterday working. The logs are now printed in a separate step of the Actions workflow, but only in the case where the tests fail. The trimmed down input data are at https://github.com/dafyddstephenson/ucla_roms_examples_input_data . Again, I can transfer ownership of this repository to CESR-lab, but I imagine using github to host the files will just be a temporary measure. I think we're ready to merge.