Skip to content

Commit c05fa37

Browse files
Modify phpunit.yml file
1 parent bf67589 commit c05fa37

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/phpunit.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,12 @@ jobs:
2525
run: |
2626
mkdir -p database
2727
touch database/database.sqlite
28-
- name: Build assets for production
28+
- name: Build assets for development
2929
env:
3030
LARAVEL_BYPASS_ENV_CHECK: 1
31-
run: npm install && npm run dev
31+
run: npm install && npm run dev &
32+
- name: Wait for server to start
33+
run: sleep 10s # Adjust this time according to your server startup time
3234
- name: Execute tests (Unit and Feature tests) via PHPUnit
3335
env:
3436
DB_CONNECTION: sqlite

0 commit comments

Comments
 (0)