name: Test on: - push - pull_request jobs: build: name: Python ${{ matrix.python-version }} / ${{ matrix.django-family }} runs-on: ubuntu-latest strategy: fail-fast: false matrix: python-version: - 3.4 - 3.6 - pypy3 django-family: - 111 - 22 exclude: - python-version: pypy3 django-family: 111 - python-version: 3.4 django-family: 22 env: TOXENV: django${{ matrix.django-family }} 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 tox - name: Run tests run: tox