Skip to content

Commit 4c96196

Browse files
Liu KeyuLiu Keyu
authored andcommitted
Skip minimums session on Windows due to CI slowness
1 parent 6c67349 commit 4c96196

File tree

2 files changed

+297
-418
lines changed

2 files changed

+297
-418
lines changed

noxfile.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212

1313
import argparse
1414
import os
15+
import platform
1516
import shutil
1617
from typing import TYPE_CHECKING
1718

@@ -82,6 +83,9 @@ def tests(session: nox.Session) -> None:
8283
@nox.session(reuse_venv=True, venv_backend="uv", python=PYTHON_ALL_VERSIONS)
8384
def minimums(session: nox.Session) -> None:
8485
"""Test the minimum versions of dependencies."""
86+
if platform.system() == "Windows":
87+
session.log("Skipping minimums session on Windows due to slowness.")
88+
return # Skip running tests entirely
8589
_run_tests(
8690
session,
8791
install_args=["--resolution=lowest-direct"],

0 commit comments

Comments
 (0)