Skip to content

Added telescope, basic project endpoint, basic filament resources, Gi… #5

Added telescope, basic project endpoint, basic filament resources, Gi…

Added telescope, basic project endpoint, basic filament resources, Gi… #5

Workflow file for this run

name: PHPUnit Tests
on: push
jobs:
phpunit:
runs-on: ubuntu-latest
services:
mysql:
image: postgres:15
env:
PGPASSWORD: 'root'
POSTGRES_DB: 'testing'
POSTGRES_USER: 'root'
POSTGRES_PASSWORD: 'root'
ports:
- 5432:5432
options: >-
--health-cmd pg_isready
--health-interval 10s
--health-timeout 5s
--health-retries 5
steps:
- name: "Checkout code"
uses: actions/checkout@v4
- name: "Setup PHP"
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
extensions: dom, curl, libxml, mbstring, zip, pcntl, pdo, sqlite, pdo_sqlite, bcmath, soap, intl, gd, exif, iconv
coverage: none
- name: "Run composer install"
run: composer install -n --prefer-dist
- name: "Prepare Laravel Application"
run: |
cp .env.ci .env
php artisan key:generate
- name: "Run PHPUnit"
run: composer test