We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a9adf91 commit b7f95f8Copy full SHA for b7f95f8
.github/workflows/django-tests.yml
@@ -24,7 +24,7 @@ jobs:
24
--health-timeout 5s
25
--health-retries 5
26
ports:
27
- - 3306:3306
+ - "3306:3306"
28
29
steps:
30
- name: Clean up any existing containers using port 3306
@@ -45,10 +45,13 @@ jobs:
45
run: |
46
until [ "$(docker inspect -f '{{.State.Health.Status}}' my_sql_db)" == "healthy" ]; do
47
echo "Waiting for MySQL to be healthy..."
48
- sleep 5
+ sleep 10
49
done
50
echo "MySQL is healthy."
51
52
+ - name: Check MySQL Logs
53
+ run: docker logs my_sql_db
54
+
55
- name: Run Django Tests
56
run: docker-compose -f code/docker-compose.yml exec -T app python manage.py test
57
0 commit comments