Skip to content

Commit f79723f

Browse files
committed
fix(nox): restore tagged test resolution variants
Add tags to each parametrized resolution and re-enable the lowest test case so generated projects can target highest, lowest, and lowest-direct runs explicitly when filtering nox sessions.
1 parent e99d601 commit f79723f

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

template/noxfile.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ def bench(s: nox.Session) -> None:
2121
@nox.parametrize(
2222
"resolution",
2323
[
24-
nox.param(Resolution.HIGHEST, id="highest"),
25-
# nox.param(Resolution.LOWEST, id="lowest"),
26-
nox.param(Resolution.LOWEST_DIRECT, id="lowest-direct"),
24+
nox.param(Resolution.HIGHEST, id="highest", tags=["highest"]),
25+
nox.param(Resolution.LOWEST, id="lowest", tags=["lowest"]),
26+
nox.param(Resolution.LOWEST_DIRECT, id="lowest-direct", tags=["lowest-direct"]),
2727
],
2828
)
2929
def test(s: nox.Session, resolution: Resolution | None) -> None:

0 commit comments

Comments
 (0)