Try pointing to different host

This commit is contained in:
Oliver Walters 2021-03-31 19:45:58 +11:00
parent db8d93e2e9
commit 67a4c5a9a2
2 changed files with 1 additions and 6 deletions

View File

@ -33,11 +33,6 @@ jobs:
pip3 install invoke
pip3 install mysqlclient
invoke install
- name: Create Database
run: |
sudo /etc/init.d/mysql start
mysql -e 'CREATE_DATABASE inventree_test_db;' -uroot -proot
mysql -e 'SHOW DATABASES;' -uroot -proot
- name: Run Tests
run: |
cd InvenTree

View File

@ -14,6 +14,6 @@ if 'test' in sys.argv:
'NAME': 'inventree_test_db',
'USER': 'inventree',
'PASSWORD': 'password',
'HOST': '127.0.0.1',
'HOST': 'mysql',
'PORT': '3306',
}