Update test.yml

This commit is contained in:
Vinicius Silva 2023-12-25 21:44:20 -03:00 committed by GitHub
parent f7e5305fea
commit e9bcb25b23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 20 deletions

View File

@ -1,13 +1,10 @@
name: Danix File System
on:
push:
branches:
- dev
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
apt update -y
apt install make -y
cd danix
make install
make aliases
- name: Creating Database
run: |
python manage.py makemigrations
python manage.py migrate
- name: Run Danix
run: |
python danix.py