-
Notifications
You must be signed in to change notification settings - Fork 20
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
Unit test infrastructure setup #144
Conversation
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.
Looks good to me! Just had a couple of questions.
Also, when you get the chance can you add some general instructions for how to add a new unit test to the official CAM-SIMA documentation? You can probably put it under the "Atmospheric_physics" section for now (but feel free to add it somewhere else if you think it makes more sense). Thanks!
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.
couple small questions.
Also, I know you've documented this stuff on the new doc page (thanks!), but can I also request a README in the test/unit-test directory that describes, at minimum, how to run the tests?
Added a README with a few instructions and pointer to the gh-docs page but just let me know if there's any other details you think we should add. |
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.
thanks! one request on the new readme. and reminder to pick a new name for the workflow yaml (assuming you're ok with changing it)
Tag name (The PR title should also include the tag name): `atmos_phys0_07_000` Originator(s): @jimmielin List all `development` PR URLs included in this PR and a short description of each: * #141 by @mattldawson @boulderdaze * #147 by @peverwhee * #144 by @mwaxmonsky * #151 by @mattldawson * #145 by @jimmielin List all test failures: N/A
Originator(s): @mwaxmonsky
Summary (include the keyword ['closes', 'fixes', 'resolves'] and issue number): Sets up the basic infrastructure to start enabling unit testing. Addresses #82
Describe any changes made to the namelist: N/A
List all files eliminated and why: N/A
List all files added and what they do:
A .github/workflows/code-coverage.yaml
A test/unit-test/CMakeLists.txt
A test/unit-test/include/ccpp_kinds.F90
A test/unit-test/tests/CMakeLists.txt
A test/unit-test/tests/utilities/CMakeLists.txt
A test/unit-test/tests/utilities/test_state_converters.pf
List all existing files that have been modified, and describe the changes: N/A
(Helpful git command:
git diff --name-status development...<your_branch_name>
)List any test failures: N/A
Is this a science-changing update? New physics package, algorithm change, tuning changes, etc? No