-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable testing for Python 3.9, 3.10, 3.10 Drop testing for Django < 2.2
- Loading branch information
1 parent
d15a3c3
commit 5870a05
Showing
6 changed files
with
37 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,11 @@ | |
Changelog | ||
********* | ||
|
||
Dev | ||
=== | ||
|
||
- Add support for Django 4.1 | ||
|
||
2.1 | ||
=== | ||
|
||
|
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,26 +1,26 @@ | ||
all: | ||
docker-compose build | ||
docker compose build | ||
|
||
shell: | ||
docker-compose run --rm app /bin/bash | ||
docker compose run --rm app /bin/bash | ||
|
||
test: | ||
docker-compose run --rm app tox | ||
docker compose run --rm app tox | ||
|
||
upload: | ||
python setup.py sdist upload | ||
|
||
check-flake8: | ||
docker-compose run --rm app flake8 | ||
docker compose run --rm app flake8 | ||
|
||
check-black: | ||
docker-compose run --rm app black --check ./static_precompiler | ||
docker compose run --rm app black --check ./static_precompiler | ||
|
||
apply-black: | ||
docker-compose run --rm app black ./static_precompiler | ||
docker compose run --rm app black ./static_precompiler | ||
|
||
check-isort: | ||
docker-compose run --rm app isort --check ./static_precompiler | ||
docker compose run --rm app isort --check ./static_precompiler | ||
|
||
apply-isort: | ||
docker-compose run --rm app isort ./static_precompiler | ||
docker compose run --rm app isort ./static_precompiler |
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,8 +1,8 @@ | ||
pytest<4 | ||
pytest-django==3.1.2 | ||
pytest==6.2.5 | ||
pytest-django==4.5.2 | ||
pretend | ||
watchdog | ||
libsass | ||
coverage | ||
pytest-cov==2.5.1 | ||
pytest-cov==4.0.0 | ||
tox |
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,22 +1,18 @@ | ||
[tox] | ||
envlist = | ||
py36-django20, | ||
py36-django21, | ||
py36-django22, | ||
py36-django30, | ||
py36-django31, | ||
py38-django40 | ||
|
||
py38-django32, | ||
py39-django40 | ||
py310-django41 | ||
py311-django41 | ||
[testenv] | ||
passenv = GEM_PATH | ||
deps = | ||
-rrequirements-test.txt | ||
django20: Django>=2.0,<2.1 | ||
django21: Django>=2.1,<2.2 | ||
django22: Django>=2.2,<3.0 | ||
django30: Django>=3.0,<3.1 | ||
django31: Django>=3.1,<4 | ||
django32: Django>=3.2,<4 | ||
django40: Django>=4.0,<4.1 | ||
django41: Django>=4.1,<4.2 | ||
commands = py.test static_precompiler --cov static_precompiler --cov-report xml --cov-append | ||
setenv = | ||
PYTHONPATH = {toxinidir} |