Update test.yml
This commit is contained in:
parent
f7e5305fea
commit
e9bcb25b23
|
|
@ -1,13 +1,10 @@
|
||||||
name: Danix File System
|
name: Danix File System
|
||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
|
||||||
branches:
|
|
||||||
- dev
|
|
||||||
|
|
||||||
pull_request:
|
pull_request:
|
||||||
branches:
|
branches: [main]
|
||||||
- main
|
push:
|
||||||
|
branches: [dev]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
continuous-integration:
|
continuous-integration:
|
||||||
|
|
@ -17,20 +14,16 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Test
|
- name: Python
|
||||||
uses: actions/setup-python@v2
|
uses: actions/setup-python@v2
|
||||||
with:
|
with:
|
||||||
python-version: 3.10
|
python-version: "3.10"
|
||||||
|
|
||||||
- name: Install Requirements
|
- name: Install danix
|
||||||
run: |
|
run: |
|
||||||
pip install -r requirements.txt
|
apt update -y
|
||||||
|
apt install make -y
|
||||||
- name: Creating Database
|
cd danix
|
||||||
run: |
|
make install
|
||||||
python manage.py makemigrations
|
make aliases
|
||||||
python manage.py migrate
|
|
||||||
|
|
||||||
- name: Run Danix
|
|
||||||
run: |
|
|
||||||
python danix.py
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue