mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix workflows
This commit is contained in:
parent
c846e2e65a
commit
dc94376f6d
33
.github/workflows/mariadb.yaml
vendored
33
.github/workflows/mariadb.yaml
vendored
@ -15,7 +15,6 @@ jobs:
|
||||
INVENTREE_DB_HOST: '127.0.0.1'
|
||||
INVENTREE_DB_PORT: 3306
|
||||
|
||||
|
||||
services:
|
||||
mariadb:
|
||||
image: mariadb:latest
|
||||
@ -27,20 +26,18 @@ jobs:
|
||||
ports:
|
||||
- 3306:3306
|
||||
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt-get install mysql-server libmysqlclient-dev
|
||||
pip3 install invoke
|
||||
pip3 install mysqlclient
|
||||
invoke install
|
||||
- name: Run Tests
|
||||
run: |
|
||||
cd InvenTree
|
||||
python3 manage.py test --settings=InvenTree.ci_mysql
|
||||
steps:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v2
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v2
|
||||
with:
|
||||
python-version: 3.7
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
sudo apt-get install mysql-server libmysqlclient-dev
|
||||
pip3 install invoke
|
||||
pip3 install mysqlclient
|
||||
invoke install
|
||||
- name: Run Tests
|
||||
run: invoke test
|
||||
|
4
.github/workflows/mysql.yaml
vendored
4
.github/workflows/mysql.yaml
vendored
@ -43,6 +43,4 @@ jobs:
|
||||
pip3 install mysqlclient
|
||||
invoke install
|
||||
- name: Run Tests
|
||||
run: |
|
||||
cd InvenTree
|
||||
python3 manage.py test --settings=InvenTree.ci_mysql
|
||||
run: invoke test
|
5
.github/workflows/postgresql.yaml
vendored
5
.github/workflows/postgresql.yaml
vendored
@ -41,7 +41,4 @@ jobs:
|
||||
pip3 install psycopg2
|
||||
invoke install
|
||||
- name: Run Tests
|
||||
run: |
|
||||
cd InvenTree
|
||||
python3 manage.py test --settings=InvenTree.ci_postgresql
|
||||
|
||||
run: invoke test
|
Loading…
Reference in New Issue
Block a user