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
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user