Github Actions in Laravel: Run PHPUnit on Every Pull Request
HTML-код
- Опубликовано: 17 сен 2024
- Did you know how easy it is to set up Github Actions with automated tests running on every PR? Let me show you.
Related links:
- Laravel Github Actions laravel-news.c...
- Using GitHub actions to run the tests of Laravel projects and packages freek.dev/1546...
- Github Pricing: github.com/pri...
- - - - -
Support the channel by checking out our products:
- Enroll in my Laravel courses: laraveldaily.t...
- Try our Laravel QuickAdminPanel: bit.ly/quickad...
- Purchase my Livewire Kit: livewirekit.com
- View Laravel Code Examples: laravelexample...
- Subscribe to my weekly newsletter: bit.ly/laravel-...
Yeah it was mich needed for CI / CD pipelines.
So now working with YML syntax.
Respect from Pakistan 🇵🇰
Real life awsome example again!
Thanks You.
All your content are always useful. Thanks for the good work!
Thank you very much Povilas, I really appreciate your videos. Greetings from Mexico
Thank you for these awesome contents 😍
Thanks for this video. Was looking for this from a long time
thank you so much, i've been banging my head for a long time, thought it was my mistake
Nice, was going to ask if you were going to do a video on github actions. I also use it to trigger deployment via forge.
Thank you
Laravel CI/CD using github action pleaseee
Yes it's in the list for some day
Thanks
Do you have any plan to continue this awsome video with such a simple basic CD/CD ?
To be honest, just this one thing is 80% of CI/CD procedure, everything else is very individual, depending on the project, code, versions, and tools you use.
@@LaravelDaily I agree. Thanks by the way.
Now exploring the ability to RESTRICT the merging of my opened PR into base branch UNTIL tests pass successfully 🇵🇰
what changes i needs to do for mysql?
Is it really okay to have the permission as 777 on storage or this is a one off exclusion since it is a test server?
My question is, do you have to write test in order for this to happen ?
Well yes, you need to write your automated tests in the /tests folder.
Does that solution require the whole vendor and npm packages commited in the branch? That seems strange.
No it doesn't require that, why do you think so? As a part of the workflow, there are "composer install" and "npm install" commands.
@@LaravelDaily oh ok, thank you
Is it possible to do a video about how to setup auto deployment to a laravel project Using github actions ?
Maybe in the future
@@LaravelDaily sure and thanks
It only for user make test...
how do i make laravel CD in private server(EC2) with github actions?
Googled "github actions cd private ec2", a lot of results there.
Thank you do you have a video on how to set up a mysql test step by step and refresh and seeding the test database instead of using sqlite?I have seen one of your video but it was about a year ago and when I tried it it keeps failing maybe i must just try again today and I think I did something wrong
It seems like you don't need another video, but you need to debug the specific error you have. If you post the error here, someone may help you to eliminate it.
Any Discount Code for Livewire Kit. Or Discount for Student..?
Can you make tutorial laravel sail with docker i have trouble when using some command
I don't use Laravel Sail and don't like its idea, so not in plans, sorry.
@@LaravelDaily I actually focused on the docker, but in the tutorial the average is only laravel sail, I'm confused because when I run docker without laravel sail it can't access all routes, either there is a problem or you have to reset the .httpaccess section or I don't understand
Sorry I can't debug it for you
@@LaravelDaily sorry to disturb your time i'm just complaining with myself😀
Hello povilas
I have multiple websites on a shared host ( hostinger )
Every time i make new changes on the repository i open the ssh then going to the project folder and pull the changes
I tried to search about any way to run git pull on the server or something like this to pull the changes automatically but i didn't find any thing
Can you help with this
I don't use shared hosting, sorry
@@LaravelDaily is this even possible?
No idea. I don't know much about shared hosting, except the fact that I don't recommend it to anyone.
Thanks