Skip to content

Commit 1768531

Browse files
committed
Created the bare bones configuration for the tests
1 parent 20e5ca6 commit 1768531

File tree

6 files changed

+16
-12
lines changed

6 files changed

+16
-12
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ jobs:
88
strategy:
99
fail-fast: false
1010
matrix:
11-
python-version: [ 3.6, 3.7, ]
11+
python-version: [ 3.7, 3.8, 3.9 ]
1212
requirements-file: [
13-
dj11_cms40.txt,
1413
dj22_cms40.txt,
14+
dj32_cms40.txt,
1515
]
1616
os: [
1717
ubuntu-20.04,

tests/requirements/base.txt

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
1-
django-app-helper
2-
tox
31
coverage
4-
isort
5-
flake8
2+
django-app-helper
63
factory-boy
4+
flake8
5+
isort
6+
tox
7+
8+
# Unreleased django-cms 4.0 compatible packages
9+
# FIXME: Unreleased 3.2 changes - https://github.com/django-cms/django-cms/tarball/release/4.0.x#egg=django-cms
10+
https://github.com/Aiky30/django-cms/archive/feature/cms-4-django-32-support.zip
11+
# FIXME: Unreleased 3.2 changes - https://github.com/django-cms/djangocms-versioning/tarball/master#egg=djangocms-versioning
12+
https://github.com/Aiky30/djangocms-versioning/tarball/feature/django-32-compat#egg=djangocms-versioning

tests/requirements/dj11_cms40.txt

Lines changed: 0 additions & 4 deletions
This file was deleted.

tests/requirements/dj22_cms40.txt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
-r base.txt
22

33
Django>=2.2,<3.0
4-
https://github.com/django-cms/django-cms/tarball/release/4.0.x#egg=django-cms
5-
https://github.com/divio/djangocms-versioning/tarball/master/#egg=djangocms-versioning

tests/requirements/dj32_cms40.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
-r base.txt
2+
3+
Django>=3.2,<4.0

tests/settings.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python
22
HELPER_SETTINGS = {
3+
'SECRET_KEY': "djangocmssnippetstestsuitekey",
34
'INSTALLED_APPS': [
45
'tests.utils',
56
'djangocms_versioning',

0 commit comments

Comments
 (0)