Skip to content

Commit 9bf5b66

Browse files
committed
fixed github actions workflow issue by updating the command to seed db and removed 60s sleep
1 parent 58b00ca commit 9bf5b66

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

.github/workflows/maven.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,8 @@ jobs:
4949
- name: Start Practice Software Testing ToolShop Website with Docker Compose
5050
run: docker compose -f docker-compose-toolshop.yml up -d
5151

52-
- name: Sleep for 60 seconds
53-
run: sleep 60s
54-
shell: bash
55-
5652
- name: Create and Seed Database
57-
run: docker compose exec -f docker-compose-toolshop.yml laravel-api php artisan migrate:fresh --seed
53+
run: docker compose -f docker-compose-toolshop.yml exec laravel-api php artisan migrate:fresh --seed
5854

5955
- name: Build Project and run tests
6056
run: mvn clean install

0 commit comments

Comments
 (0)