Skip to content

Commit 7c2497d

Browse files
committed
Remove testing older Python and Django versions.
1 parent 7aa4a75 commit 7c2497d

File tree

3 files changed

+10
-11
lines changed

3 files changed

+10
-11
lines changed

.github/workflows/python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ jobs:
66
runs-on: ubuntu-latest
77
strategy:
88
matrix:
9-
python-version: [3.6, 3.7, 3.8, 3.9]
9+
python-version: [3.8, 3.9, "3.10"]
1010

1111
steps:
1212
- uses: actions/[email protected]

noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44
@nox.session()
5-
@nox.parametrize("django", ["2.2", "3.0", "3.2"])
5+
@nox.parametrize("django", ["2.2", "3.2", "4.0"])
66
def tests(session, django):
77
session.install("poetry")
88
session.run("poetry", "install", "-E", "minify")

pyproject.toml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,17 +80,16 @@ markers = [
8080
]
8181

8282
[tool.poe.tasks]
83-
r = "example/manage.py runserver 0:8080"
84-
mm = "example/manage.py makemigrations"
85-
mi = "example/manage.py migrate"
83+
r = { cmd = "example/manage.py runserver 0:8080", help = "Run the dev server for the example project" }
84+
mm = { cmd = "example/manage.py makemigrations", help = "Make migrations for the example project" }
85+
mi = { cmd = "example/manage.py migrate", help = "Migrate the example project" }
8686
md = ["mm", "mi"]
87-
m = "example/manage.py"
88-
tp = "nox -r"
89-
tj = "npm run-script test"
87+
m = { cmd = "example/manage.py", help = "manage.py for the example project" }
88+
tp = { cmd = "nox -r", help = "Run the entire Python test suite with nox" }
89+
tj = { cmd = "npm run-script test", help = "Run the JavaScript unit tests" }
9090
ta = ["tp", "tj"]
91-
is = "isort --settings pyproject.toml ."
92-
jb = "npm run build"
93-
t = "pytest -m 'not slow'"
91+
jb = { cmd = "npm run build", help = "Build the JavaScript library" }
92+
t = { cmd = "pytest -m 'not slow'", help = "Run Python unit tests" }
9493
tc = { cmd = "pytest --cov=django_unicorn", help = "Run tests with coverage" }
9594
cr = { cmd = "coverage report", help = "Show coverage report" }
9695
my = { cmd = "mypy .", help = "Run mypy" }

0 commit comments

Comments
 (0)