Skip to content

Commit 50e0e80

Browse files
committed
Add ignore-glob to pytest
1 parent 1c9bfbf commit 50e0e80

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/doblib/ci.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,9 @@ def test(self, args=None):
220220

221221
args += ["--cov-report=html", "--cov-report=term"]
222222

223+
for ignore_glob in self.get(base.SECTION, "pytest", "ignore", default=[]):
224+
args += [f"--ignore-glob={ignore_glob}"]
225+
223226
# Load the odoo configuration
224227
with self._manage():
225228
config.parse_config(["-c", base.ODOO_CONFIG])

0 commit comments

Comments
 (0)