ci: ignore "gitlab-ci.yml.j2" files in packages
These files are meant for hardware CI and are unrelated to the actual package. Part-of: https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6696
This commit is contained in:
parent
0257d1ee5c
commit
dd643bff2a
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ def test_aports_unreferenced_files():
|
|||
for file in glob.iglob(dirname + "/**", recursive=True):
|
||||
rel_file_path = os.path.relpath(file, dirname)
|
||||
# Skip APKBUILDs and directories
|
||||
if rel_file_path == "APKBUILD" or os.path.isdir(file):
|
||||
if rel_file_path in ["APKBUILD", "gitlab-ci.yml.j2"] or os.path.isdir(file):
|
||||
continue
|
||||
|
||||
if os.path.basename(rel_file_path) not in sources_chk \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue