CTSM
CTSM copied to clipboard
Python unit tests aren't portable
There are some things preventing us from running the Python unit tests anywhere other than the NCAR clusters (or at least machines not specified in CIME's config_machines.xml). Aside from being a continuity risk, this means that we can't run them as GitHub workflows.
Unit tests failing on my Mac:
test_append_user_nl_step2: PermissionError atos.mknod(ufile)(#2985)test_check_args_outsurfdat_provided:inputdata directory does not exist(#2985)test_derecho_mpirun:ERROR: Undefined env var 'LMOD_ROOT'. This one probably just needs to be skipped if not on Derecho, but it should throw a warning. (#2987)test_inputdata_setup_files_basic:inputdata directory does not exist(#2985)test_run_phase: PermissionError inSSPCaseFake.create_clone()atos.mknod(os.path.join(newcase, "user_nl_clm"))(#2985)