Skip to content

Commit

Permalink
Laravel database migration test
Browse files Browse the repository at this point in the history
  • Loading branch information
jkaninda committed Dec 10, 2023
1 parent 988b57d commit bf1efa7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,13 @@ jobs:
- name: Test with curl
run: |
curl -i http://localhost
- name: Waiting for database connection
run: |
while ! docker exec mysql mysql --user=root --password=password -e "status" &> /dev/null ; do
echo "Waiting for database connection..."
sleep 5
done
- name: Laravel database migration test
run: |
docker exec php-fpm php artisan migrate

0 comments on commit bf1efa7

Please sign in to comment.