Closed mkavulich closed 2 months ago
@climbfuji @gold2718 I agree we should have some docstrings here before merge, I'll work on that today.
@climbfuji @gold2718 I have added the requested docstrings, as well as updating the existing file-level docstring and adding a call to sys.exit()
for the case where the test is not run with pytest. Let me know if you'd like any further changes/updates.
@climbfuji @mwaxmonsky Thanks for the reviews, I have adopted your suggested changes.
@mkavulich Can you pull #556 into this so that I can add the latest hash of this branch to https://github.com/NOAA-EMC/fv3atm/pull/816.
@grantfirl Done
This PR makes several related changes:
ccpp_track_variables.py
script, and run them automatically in CI, as requested in #511. In addition, some cleanup changes were made toccpp_track_variables.py
to make implementing the CI test easier.ccpp_prebuild.py
to make theimport_config()
routine fail "correctly" when the config file is not present: previous behavior was an exception due to mismatched return values.User interface changes?: No
Fixes: #511
Testing: test removed: None unit tests: Adds
test_track_variables.py
to CI. Also, activates system tests: I am not sure what this means 🤷 manual testing: Ran new tests manually withpytest