Skip to content

Commit

Permalink
ci: exclude Samba vendor and mock files from TiCS scan (#995)
Browse files Browse the repository at this point in the history
These are either vendored files or mocks used in tests, they should not
impact the TiCS coverage report.

Part of UDENG-2759 (still need to handle the Samba auto-update workflow)
  • Loading branch information
GabrielNagy authored May 13, 2024
2 parents 81da8b4 + 99b3255 commit 5a82095
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TiCS: disabled # generated by CI auto-update workflow

# gp_cert_auto_enroll_ext samba group policy
# Copyright (C) David Mulder <[email protected]> 2021
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TiCS: disabled # generated by CI auto-update workflow

# Reads important GPO parameters and updates Samba
# Copyright (C) Luke Morrison <[email protected]> 2013
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TiCS: disabled # generated by CI auto-update workflow

#
# samba-gpupdate enhanced logging
#
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TiCS: disabled # samba mock

import os

class gp_cert_auto_enroll_ext(object):
Expand Down
2 changes: 2 additions & 0 deletions internal/testutils/admock/vendor_samba/gp/gpclass.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TiCS: disabled # samba mock

import os

def GPOStorage(state_file):
Expand Down
2 changes: 2 additions & 0 deletions internal/testutils/admock/vendor_samba/gp/util/logging.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# TiCS: disabled # samba mock

def logger_init(_name, _level):
pass

Expand Down

0 comments on commit 5a82095

Please sign in to comment.