fix test issues
API CI/CD / Validate (composer + pint) (push) Successful in 3m30s
API CI/CD / Test (PHPUnit) (push) Failing after 5m4s
API CI/CD / Build frontend assets (push) Successful in 1m1s
API CI/CD / Security audit (push) Failing after 49s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped

This commit is contained in:
root
2026-07-07 09:06:42 -04:00
parent 3fde161f29
commit f83f21936f
22 changed files with 93 additions and 47 deletions
+3 -3
View File
@@ -23,7 +23,7 @@ env:
LOG_CHANNEL: stderr
LOG_LEVEL: debug
DB_CONNECTION: sqlite
DB_DATABASE: ${{ github.workspace }}/database/database.sqlite
DB_DATABASE: ${{ runner.temp }}/alrahma-sunday-school-api.sqlite
CACHE_DRIVER: array
CACHE_STORE: array
SESSION_DRIVER: array
@@ -151,7 +151,7 @@ jobs:
LOG_CHANNEL=stderr
LOG_LEVEL=debug
DB_CONNECTION=sqlite
DB_DATABASE=${{ github.workspace }}/database/database.sqlite
DB_DATABASE=${RUNNER_TEMP:-/tmp}/alrahma-sunday-school-api.sqlite
CACHE_DRIVER=array
CACHE_STORE=array
SESSION_DRIVER=array
@@ -162,7 +162,7 @@ jobs:
EOF
mkdir -p database storage/framework/cache storage/framework/sessions \
storage/framework/views storage/logs bootstrap/cache reports
touch database/database.sqlite
touch "${RUNNER_TEMP:-/tmp}/alrahma-sunday-school-api.sqlite"
- name: Run database migrations
run: php artisan migrate:fresh --force