CI with GitHub Actions

As an alternative to the highly valued Travis CI , GitHub Actions has also been available for some time. As a continuous integration tool, it is very well integrated on the GitHub code platform and is now very stable. GitHub Actions are based on YAML configuration files placed in the repository where the workflow should run.

Below is a boilerplate YAML file that is sufficient to run automated tests on the next push, e.g. based on PHPUnit and Jest in different environments - also an integration of MySQL or PostgreSQL (or one of the multitude of other actions in the Marketplace ). no problem:


All running tests can then be found in the "Actions" tab in the repository. The great thing: GitHub Actions is completely free to use for public repositories (for 2,000 minutes per month). If you want to experiment locally beforehand, we recommend using the act tool, which can also be used to simulate the runners locally.