Browse Source

Create django.yml

pull/453/head
Pēteris Caune 4 years ago
committed by GitHub
parent
commit
4b0d029741
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions
  1. +30
    -0
      .github/workflows/django.yml

+ 30
- 0
.github/workflows/django.yml View File

@ -0,0 +1,30 @@
name: Django CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
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@v2
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

Loading…
Cancel
Save