Skip to content

Commit

Permalink
ci: Test against django main
Browse files Browse the repository at this point in the history
  • Loading branch information
marksweb committed Sep 20, 2023
1 parent ad2f0ab commit 71844b1
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 71844b1

Please sign in to comment.