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