Skip to content

Commit c6786dd

Browse files
chore: Finish factoring unit tests from presubmit
1 parent 3a0dbe1 commit c6786dd

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

noxfile.py

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -119,10 +119,10 @@
119119
# Sessions are executed in the order so putting the smaller sessions
120120
# ahead to fail fast at presubmit running.
121121
nox.options.sessions = [
122-
"unit",
123122
"system-3.9",
124123
"system-3.12",
125124
"cover",
125+
# TODO(b/401609005): remove
126126
"cleanup",
127127
]
128128

@@ -458,21 +458,11 @@ def cover(session):
458458
"coverage",
459459
"report",
460460
"--include=bigframes/*",
461+
# Only unit tested
462+
"--exlude=bigframes/core/compile/polars/*",
461463
"--show-missing",
462464
"--fail-under=85",
463465
)
464-
465-
# Make sure there is no dead code in our test directories.
466-
session.run(
467-
"coverage",
468-
"report",
469-
"--show-missing",
470-
"--include=tests/unit/*",
471-
"--include=tests/system/small/*",
472-
# TODO(b/353775058) resume coverage to 100 when the issue is fixed.
473-
"--fail-under=99",
474-
)
475-
476466
session.run("coverage", "erase")
477467

478468

0 commit comments

Comments
 (0)