Skip to content

Commit 61896d9

Browse files
committed
WIP CI
1 parent 542b440 commit 61896d9

File tree

3 files changed

+25
-6
lines changed

3 files changed

+25
-6
lines changed

noxfile.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22

33

44
@nox.session()
5-
@nox.parametrize("django", ["4.1", "4.2", "5.0"])
6-
def tests(session, django):
5+
def tests(session):
76
session.install("poetry")
87
session.run("poetry", "install", "-E", "minify")
9-
session.install(f"django=={django}")
108
session.run("pytest", "-m", "not slow")
119
session.run("pytest", "-m", "slow")

poetry.lock

Lines changed: 22 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ keywords = ["django", "python", "javascript", "fullstack"]
1515

1616
[tool.poetry.dependencies]
1717
python = ">=3.8,<4"
18-
django = ">=2.2"
18+
django = [{version = "<=5.0", python = "<3.10"},
19+
{version = "^5.0", python=">=3.10"}]
1920
beautifulsoup4 = ">=4.8.0"
2021
orjson = ">=3.6.0"
2122
shortuuid = ">=1.0.1"

0 commit comments

Comments
 (0)