-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* general update * add changelog entry * fixes #408 * potentially fixes #410 * text something * also run docker tests * update test structure * adapt readme * get localsetup to run * let's see if that also works on travis * update reference images * formatting * fix readme * fix linting * use references generated from Docker * add pagetree test case * let's see what happens on travis * fix 3.1 rendering issues * add css fixes * do not render the sidenav and make sure reference files are actually used * fixes * revert (fails again) * adapt version list * fix css issues * fix tests * add additional adaptions * still supported for 3.6 * renamce license file
- Loading branch information
1 parent
8f16d6b
commit c586847
Showing
73 changed files
with
1,454 additions
and
2,179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM djangocms-admin-style-test:base | ||
|
||
RUN pip install -r /app/tests/requirements/django-3.0.txt | ||
|
||
ENV SCREENSHOT_REFERENCES="./tests/screenshots/reference-3.0" | ||
|
||
COPY . /app |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
FROM djangocms-admin-style-test:base | ||
|
||
RUN pip install -r /app/tests/requirements/django-3.1.txt | ||
|
||
ENV SCREENSHOT_REFERENCES="./tests/screenshots/reference-3.1" | ||
|
||
COPY . /app |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,29 @@ | ||
PORT = 8000 | ||
VERSION = 2.2 | ||
|
||
|
||
build: | ||
docker build -t djangocms-admin-style-test:base -f Dockerfile . | ||
|
||
# Django 1.11 | ||
run111: | ||
make build | ||
docker build -t djangocms-admin-style-test:django111 -f Dockerfile.django111 . | ||
docker run -t --rm -p $(PORT):8000 -v `pwd`:/app djangocms-admin-style-test:django111 bash -c "pip install -r tests/requirements/django-1.11.txt && python tests/settings-docker.py" | ||
|
||
test111: | ||
make build | ||
docker build -t djangocms-admin-style-test:django111 -f Dockerfile.django111 . | ||
docker run -t --rm -v `pwd`/tests/screenshots/django111:/app/tests/screenshots/results djangocms-admin-style-test:django111 | ||
cleanup: | ||
rm -rf *testdb.sqlite | ||
|
||
# Django 2.1 | ||
run21: | ||
run: | ||
make cleanup | ||
make build | ||
docker build -t djangocms-admin-style-test:django21 -f Dockerfile.django21 . | ||
docker run -t --rm -p $(PORT):8000 -v `pwd`:/app djangocms-admin-style-test:django21 bash -c "pip install -r tests/requirements/django-2.1.txt && python tests/settings-docker.py" | ||
docker build -t djangocms-admin-style-test:django-$(VERSION) -f Dockerfile.django-$(VERSION) . | ||
docker run -t --rm -p $(PORT):8000 -v `pwd`:/app djangocms-admin-style-test:django-$(VERSION) bash -c "pip install -r tests/requirements/django-$(VERSION).txt && python tests/settings-docker.py" | ||
|
||
test21: | ||
test: | ||
make build | ||
docker build -t djangocms-admin-style-test:django21 -f Dockerfile.django21 . | ||
docker run -t --rm -v `pwd`/tests/screenshots/django21:/app/tests/screenshots/results djangocms-admin-style-test:django21 | ||
docker build -t djangocms-admin-style-test:django-$(VERSION) -f Dockerfile.django-$(VERSION) . | ||
docker run -t --rm -v `pwd`/tests/screenshots/django-$(VERSION):/app/tests/screenshots/results djangocms-admin-style-test:django-$(VERSION) | ||
|
||
# Django 2.2 | ||
run22: | ||
make build | ||
docker build -t djangocms-admin-style-test:django22 -f Dockerfile.django22 . | ||
docker run -t --rm -p $(PORT):8000 -v `pwd`:/app djangocms-admin-style-test:django22 bash -c "pip install -r tests/requirements/django-2.2.txt && python tests/settings-docker.py" | ||
|
||
test22: | ||
make build | ||
docker build -t djangocms-admin-style-test:django22 -f Dockerfile.django22 . | ||
docker run -t --rm -v `pwd`/tests/screenshots/django22:/app/tests/screenshots/results djangocms-admin-style-test:django22 | ||
local: | ||
@echo "> The reference files in "tests/screenshots" will differ locally from the Docker version (linux)." | ||
@echo "> Make sure to run "npm install" using node 8 first." | ||
@echo "" | ||
make cleanup | ||
pip install -r tests/requirements/django-$(VERSION).txt | ||
pip install -e . | ||
export SCREENSHOT_REFERENCES="./tests/screenshots/reference-$(VERSION)"; gulp lint && gulp tests:integration |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1 @@ | ||
# -*- coding: utf-8 -*- | ||
__version__ = '1.5.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +0,0 @@ | ||
# -*- coding: utf-8 -*- | ||
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.