diff --git a/ci/django.yml b/ci/django.yml new file mode 100644 index 0000000..bcdd8ba --- /dev/null +++ b/ci/django.yml @@ -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 diff --git a/ci/properties/django.properties.json b/ci/properties/django.properties.json new file mode 100644 index 0000000..3015441 --- /dev/null +++ b/ci/properties/django.properties.json @@ -0,0 +1,6 @@ +{ + "name": "Django", + "description": "Build and Test a Django Project", + "iconName": "django", + "categories": ["Python", "Django"] +}