Skip to content

feat: add django 4.2 support, python 3.10 support #29

feat: add django 4.2 support, python 3.10 support

feat: add django 4.2 support, python 3.10 support #29

Workflow file for this run

name: CodeCov
on: [push, pull_request]
jobs:
unit-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ 3.8, 3.9, '3.10' ]
requirements-file: [
dj32_cms40.txt,
dj42_cms40.txt,
]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v3
with:
python-version: ${{ matrix.python-version }}
cache: pip
cache-dependency-path: 'tests/requirements/*.txt'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r tests/requirements/${{ matrix.requirements-file }}
python setup.py install
- name: Run coverage
run: coverage run setup.py test