Skip to content

Commit 0dd5ed6

Browse files
markswebfsbraun
andauthored
ci: Test against django main (#195)
* ci: Test against django main * fix: requirements path Co-authored-by: Fabian Braun <[email protected]> --------- Co-authored-by: Fabian Braun <[email protected]>
1 parent 7ab8cd6 commit 0dd5ed6

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed

.github/workflows/test.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,3 +75,34 @@ jobs:
7575
with:
7676
name: html-report
7777
path: htmlcov
78+
79+
unit-tests-django-main:
80+
runs-on: ${{ matrix.os }}
81+
strategy:
82+
fail-fast: false
83+
matrix:
84+
python-version: ['3.11']
85+
requirements-file: [
86+
'py311-djmain-cms41-default.txt',
87+
'py311-djmain-cms41-versioning.txt',
88+
]
89+
os: [
90+
ubuntu-20.04,
91+
]
92+
93+
steps:
94+
- uses: actions/checkout@v4
95+
- name: Set up Python ${{ matrix.python-version }}
96+
97+
uses: actions/setup-python@v4
98+
with:
99+
python-version: ${{ matrix.python-version }}
100+
- name: Install dependencies
101+
run: |
102+
python -m pip install --upgrade pip
103+
pip install -r tests/requirements/${{ matrix.requirements-file }}
104+
python setup.py install
105+
106+
- name: Run coverage
107+
run: coverage run setup.py test
108+
continue-on-error: true

0 commit comments

Comments
 (0)