Skip to content

Commit

Permalink
test: cover several vtk version
Browse files Browse the repository at this point in the history
  • Loading branch information
jourdain committed Jan 12, 2025
1 parent 97a02e5 commit 274da78
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
23 changes: 23 additions & 0 deletions noxfile.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
import nox


# "3.10", "3.11", "3.12"
@nox.session(python=["3.9"])
@nox.parametrize("vtk", ["==9.3.1", "==9.4.1", "==9.4.20250111.dev0"])
def tests(session, vtk):
session.install(".[dev]")
session.install("trame")
session.install("trame-client[test]")
session.install("trame-vuetify")
session.install("pytest-asyncio")
session.install("coverage")
session.install("pyvista==0.44.1")
session.install(f"vtk{vtk}", "--extra-index-url", "https://wheels.vtk.org")

session.run("pytest", "--firefox", "--headless")


@nox.session
def lint(session):
session.install(".[dev]")
session.run("pre-commit", "run", "--all-files")
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ dev = [
"pytest",
"pytest-asyncio",
"coverage",
"nox",
]

[build-system]
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 274da78

Please sign in to comment.