We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
--ci
1 parent 1c1c4ab commit f46f45eCopy full SHA for f46f45e
1 file changed
conftest.py
@@ -1,5 +1,6 @@
1
from functools import lru_cache
2
from pathlib import Path
3
+import argparse
4
import math
5
import warnings
6
import os
@@ -55,6 +56,7 @@ def pytest_addoption(parser):
55
56
help="disable testing functions with output shapes dependent on input",
57
)
58
# CI
59
+ parser.addoption("--ci", action="store_true", help=argparse.SUPPRESS ) # deprecated
60
parser.addoption(
61
"--skips-file",
62
action="store",
@@ -98,6 +100,12 @@ def pytest_configure(config):
98
100
settings.load_profile("xp_override")
99
101
else:
102
settings.load_profile("xp_default")
103
+ # CI
104
+ if config.getoption("--ci"):
105
+ warnings.warn(
106
+ "Custom pytest option --ci is deprecated as any tests not for CI "
107
+ "are now located in meta_tests/"
108
+ )
109
110
111
@lru_cache
0 commit comments