Skip to content

Added test badge

Added test badge #3

Workflow file for this run

name: Laravel Build and Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
php-versions: ['8.2', '8.3'] # Adjust PHP versions as needed
laravel-versions: ['^8.0', '^9.0', '^10.0', '^11.0'] # Adjust Laravel versions as needed
steps:
- uses: actions/checkout@v4
- name: Set up PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-versions }}
extensions: mbstring, dom, curl, pdo_mysql
tools: composer, phpunit
- name: Install Dependencies
run: composer install --no-progress --prefer-dist
- name: Run Tests
run: vendor/bin/phpunit
# Add additional steps if necessary, like linting, code style checks, etc.