diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 1a7bb91b..c69f598b 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -75,3 +75,34 @@ jobs: with: name: html-report path: htmlcov + + unit-tests-django-main: + runs-on: ${{ matrix.os }} + strategy: + fail-fast: false + matrix: + python-version: ['3.11'] + requirements-file: [ + 'py311-djmain-cms41-default.txt', + 'py311-djmain-cms41-versioning.txt', + ] + os: [ + ubuntu-20.04, + ] + + steps: + - uses: actions/checkout@v4 + - name: Set up Python ${{ matrix.python-version }} + + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install ${{ matrix.requirements-file }} + python setup.py install + + - name: Run coverage + run: coverage run setup.py test + continue-on-error: true