Category: Laravel

In this tutorial, we’re going to setup github actions to run tests on a merge of a Laravel Project To create a new workflow you will need to add a new file inside .github/workflows/laravel.yml and add the below yaml to this file and push to your repository.

Next we define what events we want to listen on to trigger this workflow, for this workflow we want to run tests when pull requests are merged into master or when they're pushes into master.

For a Laravel project we need to setup the project and then run the phpunit tests. The next time you push into the repository GitHub will build your project and run the phpunit tests on your application.
Newsletter

Get the latest Laravel/PHP jobs, events and curated articles straight to your inbox, once a week

Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge. Glimpse streamlines Laravel development by seamlessly deploying GitHub pull requests to preview environments with the help of Laravel Forge.
Fathom Analytics | Fast, simple and privacy-focused website analytics. Fathom Analytics | Fast, simple and privacy-focused website analytics.
Shirts painstakingly handcrafted by under-caffeinated developers. Shirts painstakingly handcrafted by under-caffeinated developers.
Community Partners