NCAR / icar

The Intermediate Complexity Atmospheric Research model (ICAR)
MIT License
72 stars 53 forks source link

New badges and test data generation #97

Closed scrasmussen closed 2 years ago

scrasmussen commented 2 years ago

TYPE: new feature

KEYWORDS: continuous integration, github actions, badges, NetCDF generation

SOURCE: Soren Rasmussen, ICAR

DESCRIPTION OF CHANGES: To test ICAR after building with GitHub Actions, NetCDF data needed to be generated or imported. The data is now generated for a basic test case, along with a namelist file. The data generation has been integrated in with the GitHub action workflow to produce two different badges, a build badge and a run badge, using dynamic badges. Here is an example of the build badge: Build Status

TESTS CONDUCTED: Ran basic tests

NOTES: Two workflow files have been created. One to run on pull requests and one to run when the main branch changes. Status badges are only produced when the main branch workflow is run.

Checklist

scrasmussen commented 2 years ago

Looked at PR with Ethan during meeting. Merging