Skip to content

Merge pull request #105 from un1t/feature/8.1 #59

Merge pull request #105 from un1t/feature/8.1

Merge pull request #105 from un1t/feature/8.1 #59

Workflow file for this run

name: CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ${{ matrix.os || 'ubuntu-latest' }}
strategy:
matrix:
include:
- python: "3.6"
toxenv: py36-django32
os: ubuntu-20.04
- python: "3.7"
toxenv: py37-django32
- python: "3.8"
toxenv: py38-django32
- python: "3.9"
toxenv: py39-django32
- python: "3.10"
toxenv: py310-django32
- python: "pypy-3.10"
toxenv: pypy3-django32
- python: "3.8"
toxenv: py38-django41
- python: "3.9"
toxenv: py39-django41
- python: "3.10"
toxenv: py310-django41
- python: "3.11"
toxenv: py311-django41
- python: "pypy-3.10"
toxenv: pypy3-django41
- python: "3.8"
toxenv: py38-django42
- python: "3.9"
toxenv: py39-django42
- python: "3.10"
toxenv: py310-django42
- python: "3.11"
toxenv: py311-django42
- python: "pypy-3.10"
toxenv: pypy3-django42
- python: "3.10"
toxenv: py310-django50
- python: "3.11"
toxenv: py311-django50
- python: "3.12"
toxenv: py312-django50
- python: "pypy-3.10"
toxenv: pypy3-django50
steps:
- uses: actions/checkout@v2
- name: Setup Python
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python }}
- name: Install Test Framework
run: pip install tox-gh-actions
- name: Run Tests
env:
TOXENV: ${{ matrix.toxenv }}
run: tox # setting TOXENV is equivalent to calling `tox -e [ENV]`