Merge pull request #317 from Bhupesh-V/django-workflow

Django workflow
This commit is contained in:
Andy McKay
2020-02-07 08:14:00 -08:00
committed by GitHub
2 changed files with 32 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
name: Django CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Run Tests
run: |
python manage.py test
+6
View File
@@ -0,0 +1,6 @@
{
"name": "Django",
"description": "Build and Test a Django Project",
"iconName": "django",
"categories": ["Python", "Django"]
}