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 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