GitHub Actions
GitHub Actions is a software development automation platform that is integrated into GitHub repositories. The platform allows for the creation of several types of automated tasks such as build, test, and deploy. A set of these tasks is referred to as a workflow.
DART utilizes GitHub Actions to run automated tests when a pull request is submitted.
The workflow is called action_on_pull_request.yml
.
The current tests are building and running lorenz_96 (mpi) and lorenz_63 (no mpi).
A pull request can not be merged until the tests pass.
You can view the details of each GitHub action by clicking on Details
The tests run on every commit to a pull request, so it is important that the tests run quickly. The readthedocs documentation build takes ~89 seconds.
Aim to beat 89s with any tests you add.