UU-Hydro / PCR-GLOBWB_model

PCR-GLOBWB (PCRaster Global Water Balance) is a large-scale hydrological model intended for global to regional studies and developed at the Department of Physical Geography, Utrecht University (Netherlands). Contact: Edwin Sutanudjaja (E.H.Sutanudjaja@uu.nl).
GNU General Public License v3.0
116 stars 79 forks source link

Add continuous integration testing (identical simulation outputs) action to the PCR-GLOBWB_model at each pull request #42

Closed BramDr closed 4 months ago

BramDr commented 5 months ago

GitHub Actions are automated processes that fire during any GitHub action, such as push or pull request. I have added a GitHub action that automatically tests whether any code changes result in different model outputs, for any pull request. It does so by automatically running a test simulation and comparing the outputs to the outputs that would have been generated under release v2.4.0_alpha.

This action works in tandem with the new PCR-GLOBWB continuous integration repository, which stores the inputs for the simulations, the outputs from release v2.4.0_alpha and scripts to compare the two. Currently only a natural simulation (with spin-up) during 2001 for the RhineMeuse region is performed. However the continuous integration repository can easily be extended with other tests.

This GitHub Action integration will help maintain scientific consistency between developments.