-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #119 from openedx/jenkins/aht/POST-DJANGO32-CLEANU…
…P-936c077 Post Django32 Cleanup
- Loading branch information
Showing
8 changed files
with
67 additions
and
57 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
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,37 +1,36 @@ | ||
[tox] | ||
envlist = drf{311,latest},py38-django{22,30,31,32}-drf{311,latest}, quality | ||
envlist = py38-django{32,40}-drf{312, latest}, quality | ||
|
||
[pytest] | ||
DJANGO_SETTINGS_MODULE = test_settings | ||
addopts = --cov edx_api_doc_tools --cov-report term-missing --cov-report xml | ||
norecursedirs = .* docs requirements | ||
|
||
[testenv] | ||
deps = | ||
django22: Django>=2.2,<2.3 | ||
django30: Django>=3.0,<3.1 | ||
django31: Django>=3.1,<3.2 | ||
django32: Django>=3.2,<4.0 | ||
drf311: djangorestframework>=3.11,<3.12 | ||
drflatest: djangorestframework | ||
-r{toxinidir}/requirements/test.txt | ||
commands = | ||
pytest {posargs} | ||
deps = | ||
django32: Django>=3.2,<4.0 | ||
django40: Django>=4.0,<4.1 | ||
drf312: djangorestframework>=3.12,<3.13 | ||
drflatest: djangorestframework | ||
-r{toxinidir}/requirements/test.txt | ||
commands = | ||
pytest {posargs} | ||
|
||
[testenv:docs] | ||
setenv = | ||
DJANGO_SETTINGS_MODULE = test_settings | ||
PYTHONPATH = {toxinidir} | ||
whitelist_externals = | ||
make | ||
rm | ||
deps = | ||
-r{toxinidir}/requirements/doc.txt | ||
commands = | ||
make build_docs | ||
setenv = | ||
DJANGO_SETTINGS_MODULE = test_settings | ||
PYTHONPATH = {toxinidir} | ||
whitelist_externals = | ||
make | ||
rm | ||
deps = | ||
-r{toxinidir}/requirements/doc.txt | ||
commands = | ||
make build_docs | ||
|
||
[testenv:quality] | ||
deps = | ||
-r{toxinidir}/requirements/quality.txt | ||
commands = | ||
make quality | ||
deps = | ||
-r{toxinidir}/requirements/quality.txt | ||
commands = | ||
make quality | ||
|