Skip to content

wip

wip #5

Workflow file for this run

name: Run tests
on: push
jobs:
phpunit:
name: Run tests
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.3'
tools: composer:v2
coverage: xdebug
- name: Run composer install
run: composer install --no-interaction --prefer-dist --optimize-autoloader
- name: Prepare Laravel Application
run: |
cp .env.example .env
php artisan key:generate
- name: Directory Permissions
run: chmod -R 777 storage bootstrap/cache
- name: Setup Vite Manifest
run: |
npm install
npm run build
- name: Run tests
run: php artisan test --coverage