Skip to content

Commit 633b841

Browse files
committed
Update plugin.py
1 parent 595c5eb commit 633b841

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

cppython/plugins/conan/plugin.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,10 @@ def publish(self) -> None:
291291
# Add build mode (build everything for publishing)
292292
command_args.extend(['--build', 'missing'])
293293

294+
# Skip test dependencies during publishing
295+
command_args.extend(['-c', 'tools.graph:skip_test=True'])
296+
command_args.extend(['-c', 'tools.build:skip_test=True'])
297+
294298
# Add cmake binary configuration if specified
295299
if self._cmake_binary and self._cmake_binary != 'cmake':
296300
# Quote the path if it contains spaces

0 commit comments

Comments
 (0)