From dd643bff2ad0cdf5459af4a933407992f7f09d71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Roukala=20=28n=C3=A9=20Peres=29?= Date: Thu, 26 Jun 2025 13:24:29 +0300 Subject: [PATCH] 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 --- .ci/testcases/test_source.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.ci/testcases/test_source.py b/.ci/testcases/test_source.py index e336263bf..e7c990b43 100644 --- a/.ci/testcases/test_source.py +++ b/.ci/testcases/test_source.py @@ -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 \