Skip to content

Commit

Permalink
Create laravel.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
slvler authored Nov 13, 2024
1 parent 98f7127 commit f48bfca
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/laravel.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Laravel

on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]

jobs:
laravel-tests:

runs-on: ubuntu-latest

steps:
- uses: shivammathur/setup-php@15c43e89cdef867065b0213be354c2841860869e
with:
php-version: '8.1'
- uses: actions/checkout@v4
- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"
- name: Install Dependencies
run: composer install
- name: Run test suite
run: vendor/bin/phpunit

0 comments on commit f48bfca

Please sign in to comment.