Skip to content

Commit 6d0525e

Browse files
committed
updated maven workflow to sleep for 60s before running the create and seed db command
1 parent 25468e8 commit 6d0525e

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/maven.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,15 @@ jobs:
5454

5555
- name: Start Practice Software Testing with Docker Compose
5656
working-directory: practice-repo
57+
run: docker compose -f docker-compose.yml up -d
58+
59+
- name: Sleep for 60 seconds
60+
run: sleep 60s
61+
shell: bash
62+
63+
- name: Create and Seed Database
5764
run: |
58-
docker compose up -d
59-
docker compose exec laravel-api php artisan migrate:fresh --seed
65+
docker compose exec laravel-api php artisan migrate:fresh --seed
6066
6167
- name: Install Chrome
6268
uses: browser-actions/setup-chrome@latest

0 commit comments

Comments
 (0)