Skip to content

Commit

Permalink
Don't use Sentry when Unit Testing
Browse files Browse the repository at this point in the history
Contribute to CURA-11482
  • Loading branch information
jellespijker committed Jan 13, 2024
1 parent a7eac67 commit cd51cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ def export_sources(self):
def config_options(self):
if not self.options.enable_plugins:
del self.options.enable_remote_plugins
if self.conf.get("user.curaengine:sentry_url", "", check_type=str) == "":
if self.conf.get("user.curaengine:sentry_url", "", check_type=str) == "" or self.conf.get("tools.build:skip_test", False, check_type=bool):
del self.options.enable_sentry

def configure(self):
Expand Down

0 comments on commit cd51cf2

Please sign in to comment.