Skip to content

Commit

Permalink
Fix GitHub Actions configuration (#419)
Browse files Browse the repository at this point in the history
* Fix GitHub Actions configuration

* Remove deprecated import
  • Loading branch information
johnthagen committed Jan 9, 2022
1 parent c8df2cd commit 9aab6c9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 24 deletions.
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

0 comments on commit 9aab6c9

Please sign in to comment.