Skip to content

Compatibility, clean-up #15

Compatibility, clean-up

Compatibility, clean-up #15

Workflow file for this run

name: Build
on: [push]
jobs:
cover:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: 3.8
- run: pip install django coverage==4.5.4 python-coveralls .
- run: coverage run --source=. --omit=setup.py ./tests/manage.py test --verbosity=2
- run: coveralls
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
test:
runs-on: ubuntu-latest
strategy:
max-parallel: 4
matrix:
python-version: [3.7, 3.8, 3.9, 3.10, 3.11]
django-requirement:
- Django # latest
- Django==4.2
- Django==3.2
- Django==2.2
- Django==1.11
steps:
- uses: actions/checkout@v1
- uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- run: pip install ${{ matrix.django-requirement }}
- run: pip install .
- run: ./tests/manage.py test --verbosity=2