Skip to content

Commit b52e653

Browse files
committed
tests: skip conda in min tests
Signed-off-by: Henry Schreiner <henryfs@princeton.edu> Update pyproject.toml Update noxfile.py Apply suggestion from @henryiii
1 parent 4504fc6 commit b52e653

File tree

2 files changed

+2
-7
lines changed

2 files changed

+2
-7
lines changed

noxfile.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,11 +67,6 @@ def tests(session: nox.Session) -> None:
6767
session.run("coverage", "combine", env=env)
6868
session.run("coverage", "report", env=env)
6969

70-
# if sys.platform.startswith("win"):
71-
# with contextlib.closing(sqlite3.connect(coverage_file)) as con, con:
72-
# con.execute("UPDATE file SET path = REPLACE(path, '\\', '/')")
73-
# con.execute("DELETE FROM file WHERE SUBSTR(path, 2, 1) == ':'")
74-
7570

7671
@nox.session(venv_backend="uv", default=False)
7772
def minimums(session: nox.Session) -> None:
@@ -80,7 +75,7 @@ def minimums(session: nox.Session) -> None:
8075

8176
session.install("-e.", "--group=test", "--resolution=lowest-direct")
8277
session.run("uv", "pip", "list")
83-
session.run("pytest", *session.posargs)
78+
session.run("pytest", "-m", "not conda", *session.posargs)
8479

8580

8681
def xonda_tests(session: nox.Session, xonda: str) -> None:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ run.core = "sysmon"
136136
run.branch = true
137137
run.patch = [ "subprocess" ]
138138
run.relative_files = true
139-
run.source_dirs = [ "nox" ]
139+
run.source_pkgs = [ "nox" ]
140140
run.disable_warnings = [
141141
"no-sysmon",
142142
]

0 commit comments

Comments
 (0)