diff --git a/tox.ini b/tox.ini index 62d31d6..b52e91c 100644 --- a/tox.ini +++ b/tox.ini @@ -26,10 +26,9 @@ setenv = PYTHONWARNINGS = d DJANGO_SETTINGS_MODULE = tests.testproject.settings pg2,pg3: DATABASE_URL = {env:DATABASE_URL:postgresql://django_safemigrate:django_safemigrate@localhost/django_safemigrate} - mysql: DATABASE_URL = {env:DATABASE_URL:mysql://django_safemigrate:django_safemigrate@localhost/django_safemigrate} + mysql: DATABASE_URL = {env:DATABASE_URL:mysql://django_safemigrate:django_safemigrate@127.0.0.1/django_safemigrate} sqlite: DATABASE_URL = {env:DATABASE_URL:sqlite:///:memory:} commands = - mysql: python -m django shell -c "from django.conf import settings; print(settings.DATABASES)" python -m coverage run -m pytest {posargs} [gh-actions]