name: Full Test

on:
  push:
  pull_request:
    types: [assigned, opened, synchronize, reopened]


jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ['3.6', '3.7', '3.8', '3.9']
        django-version: ['<2.1', '<2.2', '<3.0', '<3.1', '<3.2', '==3.2b1']
    
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install core
        run: pip install "Django${{ matrix.django-version }}" pydantic
      - name: Install tests
        run: pip install pytest pytest-asyncio pytest-django
      - name: Test
        run: pytest
  codestyle:
    runs-on: ubuntu-latest
    
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: 3.8
      - name: Install Dependencies
        run: pip install black isort
      - name: Black
        run: black --check ninja
      - name: isort
        run: isort --check ninja
      - name: Flake8
        run: flake8 ninja

name: Full Test

on:
  push:
  pull_request:
    types: [assigned, opened, synchronize, reopened]


jobs:
  test:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: ['3.6', '3.7', '3.8', '3.9']
        django-version: ['<2.1', '<2.2', '<3.0', '<3.1', '<3.2', '==3.2b1']
    
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: ${{ matrix.python-version }}
      - name: Install core
        run: pip install "Django${{ matrix.django-version }}" pydantic
      - name: Install tests
        run: pip install pytest pytest-asyncio pytest-django
      - name: Test
        run: pytest
  codestyle:
    runs-on: ubuntu-latest
    
    steps:
      - uses: actions/checkout@v2
      - name: Set up Python
        uses: actions/setup-python@v1
        with:
          python-version: 3.8
      - name: Install Dependencies
        run: pip install black isort flake8
      - name: Black
        run: black --check ninja
      - name: isort
        run: isort --check ninja
      - name: Flake8
        run: flake8 ninja

Add missing github workflow dependency
Add missing github workflow dependency
