mirror of
https://github.com/jkaninda/nginx-php-fpm.git
synced 2025-12-06 05:29:43 +01:00
Laravel database migration test
This commit is contained in:
11
.github/workflows/integration-tests.yml
vendored
11
.github/workflows/integration-tests.yml
vendored
@@ -34,4 +34,13 @@ jobs:
|
||||
./k6 run script.js
|
||||
- name: Test with curl
|
||||
run: |
|
||||
curl -i http://localhost
|
||||
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 nginx-php-fpm php artisan migrate
|
||||
Reference in New Issue
Block a user