2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-04-28 19:46:46 +00:00

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 invoke
pip3 install mysqlclient pip3 install mysqlclient
invoke install 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 - name: Run Tests
run: | run: |
cd InvenTree cd InvenTree

View File

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