Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix GitHub Actions configuration #419

Merged
merged 2 commits into from
Jan 9, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 5 additions & 11 deletions dbbackup/tests/testapp/urls.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
try:
from django.conf.urls import patterns, include, url
urlpatterns = patterns(
'',
# url(r'^admin/', include(admin.site.urls)),
)
except ImportError:
from django.conf.urls import include, url
urlpatterns = (
# url(r'^admin/', include(admin.site.urls)),
)
from django.urls import include, re_path

urlpatterns = (
# url(r'^admin/', include(admin.site.urls)),
)
17 changes: 4 additions & 13 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,24 +1,15 @@
[tox]
envlist = py{3.6,3.7,3.8,nightly}-django2.2,py{3.6,3.7,3.8,3.9,3.10,nightly}-django{3.2,4.0,master},lint,docs,functional
envlist = py{36,37,38,39}-django22,py{36,37,38,39,310}-django{32,40,master},lint,docs,functional

[testenv]
passenv = *
setenv =
PYTHONDONTWRITEBYTECODE=1
basepython =
py3.6: python3.6
py3.7: python3.7
py3.8: python3.8
py3.9: python3.9
py3.10: python3.10
pypypy: pypy
pypypy3: pypy3
pynightly: python
deps =
-rrequirements-tests.txt
django2.2: Django>=2.2,<2.3
django3.2: Django>=3.2,<3.3
django4.0: Django>=4.0,<4.1
django22: Django>=2.2,<2.3
django32: Django>=3.2,<3.3
django40: Django>=4.0,<4.1
djangomaster: https://github.com/django/django/archive/master.zip
commands = {posargs:coverage run runtests.py}

Expand Down