Skip to content

Commit 6a69c8f

Browse files
aquarionclaude
andcommitted
🪳 Run migrations in dusk-tests job before starting server
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 2c2c062 commit 6a69c8f

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

‎.github/workflows/laravel-tests.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,12 @@ jobs:
158158
mkdir -p database
159159
touch database/database.sqlite
160160
161+
- name: Run migrations
162+
run: php artisan migrate --env=testing --force
163+
env:
164+
DB_CONNECTION: sqlite
165+
DB_DATABASE: database/database.sqlite
166+
161167
- name: Detect host IP
162168
id: host-ip
163169
run: |

0 commit comments

Comments
 (0)