mirror of
https://github.com/inventree/InvenTree.git
synced 2025-04-29 03:56:43 +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_HOST: '127.0.0.1'
|
||||||
INVENTREE_DB_PORT: 3306
|
INVENTREE_DB_PORT: 3306
|
||||||
|
|
||||||
|
|
||||||
services:
|
services:
|
||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
@ -27,20 +26,18 @@ jobs:
|
|||||||
ports:
|
ports:
|
||||||
- 3306:3306
|
- 3306:3306
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
- name: Setup Python
|
- name: Setup Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.7
|
python-version: 3.7
|
||||||
- name: Install Dependencies
|
- name: Install Dependencies
|
||||||
run: |
|
run: |
|
||||||
sudo apt-get install mysql-server libmysqlclient-dev
|
sudo apt-get install mysql-server libmysqlclient-dev
|
||||||
pip3 install invoke
|
pip3 install invoke
|
||||||
pip3 install mysqlclient
|
pip3 install mysqlclient
|
||||||
invoke install
|
invoke install
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: invoke test
|
||||||
cd InvenTree
|
|
||||||
python3 manage.py test --settings=InvenTree.ci_mysql
|
|
||||||
|
4
.github/workflows/mysql.yaml
vendored
4
.github/workflows/mysql.yaml
vendored
@ -43,6 +43,4 @@ jobs:
|
|||||||
pip3 install mysqlclient
|
pip3 install mysqlclient
|
||||||
invoke install
|
invoke install
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: invoke test
|
||||||
cd InvenTree
|
|
||||||
python3 manage.py test --settings=InvenTree.ci_mysql
|
|
5
.github/workflows/postgresql.yaml
vendored
5
.github/workflows/postgresql.yaml
vendored
@ -41,7 +41,4 @@ jobs:
|
|||||||
pip3 install psycopg2
|
pip3 install psycopg2
|
||||||
invoke install
|
invoke install
|
||||||
- name: Run Tests
|
- name: Run Tests
|
||||||
run: |
|
run: invoke test
|
||||||
cd InvenTree
|
|
||||||
python3 manage.py test --settings=InvenTree.ci_postgresql
|
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user