mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-28 11:36:44 +00:00
Try pointing to different host
This commit is contained in:
parent
db8d93e2e9
commit
67a4c5a9a2
5
.github/workflows/mysql.yaml
vendored
5
.github/workflows/mysql.yaml
vendored
@ -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
|
||||||
|
@ -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',
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user