Skip to content

Commit 274da78

Browse files
committed
test: cover several vtk version
1 parent 97a02e5 commit 274da78

File tree

5 files changed

+24
-0
lines changed

5 files changed

+24
-0
lines changed

noxfile.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import nox
2+
3+
4+
# "3.10", "3.11", "3.12"
5+
@nox.session(python=["3.9"])
6+
@nox.parametrize("vtk", ["==9.3.1", "==9.4.1", "==9.4.20250111.dev0"])
7+
def tests(session, vtk):
8+
session.install(".[dev]")
9+
session.install("trame")
10+
session.install("trame-client[test]")
11+
session.install("trame-vuetify")
12+
session.install("pytest-asyncio")
13+
session.install("coverage")
14+
session.install("pyvista==0.44.1")
15+
session.install(f"vtk{vtk}", "--extra-index-url", "https://wheels.vtk.org")
16+
17+
session.run("pytest", "--firefox", "--headless")
18+
19+
20+
@nox.session
21+
def lint(session):
22+
session.install(".[dev]")
23+
session.run("pre-commit", "run", "--all-files")

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ dev = [
3030
"pytest",
3131
"pytest-asyncio",
3232
"coverage",
33+
"nox",
3334
]
3435

3536
[build-system]
52.5 KB
Loading
70.4 KB
Loading
107 KB
Loading

0 commit comments

Comments
 (0)