Skip to content

Commit

Permalink
WIP CI
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyLWright committed Jul 24, 2024
1 parent 542b440 commit 61896d9
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 6 deletions.
4 changes: 1 addition & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@


@nox.session()
@nox.parametrize("django", ["4.1", "4.2", "5.0"])
def tests(session, django):
def tests(session):
session.install("poetry")
session.run("poetry", "install", "-E", "minify")
session.install(f"django=={django}")
session.run("pytest", "-m", "not slow")
session.run("pytest", "-m", "slow")
24 changes: 22 additions & 2 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ keywords = ["django", "python", "javascript", "fullstack"]

[tool.poetry.dependencies]
python = ">=3.8,<4"
django = ">=2.2"
django = [{version = "<=5.0", python = "<3.10"},
{version = "^5.0", python=">=3.10"}]
beautifulsoup4 = ">=4.8.0"
orjson = ">=3.6.0"
shortuuid = ">=1.0.1"
Expand Down

0 comments on commit 61896d9

Please sign in to comment.