Skip to content

What is the best way to run laravel unit tests before the deploy #285

Answered by jaydrogers
ps-20x asked this question in Q&A
Discussion options

You must be logged in to vote

Here is a good example to page through. It might not answer everything you're looking for, but it will show you an example how to get started: https://github.com/serversideup/financial-freedom/tree/main/.github/workflows

See how I have "actions" and "services"? I do that so I can reuse my pipeline code.

See action_pr-tests.yml and then how it calls service_install-and-test-php.yml.

My other actions reuse the code components too. Hope this helps!

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ps-20x
Comment options

Answer selected by ps-20x
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants