NOAA-EMC / global-workflow

Global Superstructure/Workflow supporting the Global Forecast System (GFS)
https://global-workflow.readthedocs.io/en/latest
GNU Lesser General Public License v3.0
70 stars 161 forks source link

CI miscellaneous updates and adding CI Unit Tests #2740

Open TerrenceMcGuinness-NOAA opened 2 days ago

TerrenceMcGuinness-NOAA commented 2 days ago

Description

This PR has a few maintenance updates to the CI pipeline and adds a test directory with Unit Tests

Minor Maintenance updates:

Added python Unit Tests for CI functionality:

How has this been tested?

Unit Tests ran in GitHub Runner using .github/workflow/ci_uint_tests.yaml

test_create_experiment.py::test_create_experiment PASSED                 [ 12%]
test_rocotostat.py::test_rocoto_statcount PASSED                         [ 25%]
test_rocotostat.py::test_rocoto_summary PASSED                           [ 37%]
test_rocotostat.py::test_rocoto_done PASSED                              [ 50%]
test_rocotostat.py::test_rocoto_stalled PASSED                           [ 62%]
test_setup.py::test_setup_expt PASSED                                    [ 75%]
test_setup.py::test_setup_xml PASSED                                     [ 87%]
test_setup.py::test_setup_xml_fail_config_env_cornercase PASSED          [100%]

Change characteristics