feat: include testing, factories, git workflow for testing.
All checks were successful
Tests / Laravel tests (pull_request) Successful in 3m31s

This commit is contained in:
2026-06-03 21:23:39 +02:00
parent d83fce834a
commit 9df6c0ab46
20 changed files with 732 additions and 13 deletions

View File

@@ -0,0 +1,34 @@
name: Tests
on:
pull_request:
push:
branches:
- main
jobs:
php-tests:
name: Laravel tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.4'
extensions: bcmath, exif, fileinfo, gd, mbstring, pdo_sqlite, sqlite3, zip
coverage: none
- name: Install Composer dependencies
uses: ramsey/composer-install@v3
- name: Prepare application
run: |
cp .env.example .env
php artisan key:generate --ansi
- name: Run test suite
run: php artisan test