mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +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 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
|
||||
|
@ -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',
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user