2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-18 13:05:42 +00:00

Use env variables rather than custom ci scripts

This commit is contained in:
Oliver Walters
2021-03-31 20:39:22 +11:00
parent 608f47837f
commit c846e2e65a
7 changed files with 78 additions and 104 deletions

View File

@ -7,6 +7,15 @@ jobs:
test:
runs-on: ubuntu-latest
env:
# Database backend configuration
INVENTREE_DB_ENGINE: django.db.backends.mysql
INVENTREE_DB_USER: root
INVENTREE_DB_PASSWORD: password
INVENTREE_DB_HOST: '127.0.0.1'
INVENTREE_DB_PORT: 3306
services:
mariadb:
image: mariadb:latest
@ -32,6 +41,6 @@ jobs:
pip3 install mysqlclient
invoke install
- name: Run Tests
run: |
cd InvenTree
python3 manage.py test --settings=InvenTree.ci_mysql
run: |
cd InvenTree
python3 manage.py test --settings=InvenTree.ci_mysql