Skip to content

Commit

Permalink
Always test latest starlette
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick91 committed Dec 12, 2024
1 parent b31d359 commit 76bc26c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ def tests_django(session: Session, django: str, gql_core: str) -> None:


@session(python=["3.11"], name="Starlette tests", tags=["tests"])
@with_gql_core_parametrize("starlette", ["0.28.0", "0.27.0", "0.26.1"])
def tests_starlette(session: Session, starlette: str, gql_core: str) -> None:
@gql_core_parametrize
def tests_starlette(session: Session, gql_core: str) -> None:
session.run_always("poetry", "install", external=True)

session._session.install(f"starlette=={starlette}") # type: ignore
session._session.install("starlette") # type: ignore
_install_gql_core(session, gql_core)
session.run("pytest", *COMMON_PYTEST_OPTIONS, "-m", "asgi")

Expand Down

0 comments on commit 76bc26c

Please sign in to comment.