Fix SQLite NOT NULL constraint failures: use migrate:fresh to recreate tables each CI run
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m17s
API CI/CD / Build frontend assets (push) Successful in 2m18s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
API CI/CD / Validate (composer + pint) (push) Successful in 2m7s
API CI/CD / Test (PHPUnit) (push) Failing after 2m17s
API CI/CD / Build frontend assets (push) Successful in 2m18s
API CI/CD / Security audit (push) Successful in 32s
API CI/CD / Deploy to shared hosting (PHP) (push) Has been skipped
This commit is contained in:
@@ -156,7 +156,7 @@ jobs:
|
||||
php artisan view:clear
|
||||
|
||||
- name: Run database migrations
|
||||
run: php artisan migrate --force
|
||||
run: php artisan migrate:fresh --force
|
||||
|
||||
- name: Run Unit tests
|
||||
run: php artisan test --testsuite=Unit --log-junit reports/phpunit-unit.xml
|
||||
|
||||
Reference in New Issue
Block a user