diff --git a/.gitlab-ci/testcases/test_directory_structure.py b/.gitlab-ci/testcases/test_directory_structure.py index 35eaef6a2..60e58896c 100644 --- a/.gitlab-ci/testcases/test_directory_structure.py +++ b/.gitlab-ci/testcases/test_directory_structure.py @@ -16,6 +16,7 @@ expected_directories = [ "temp", ] + # pmbootstrap allows placing APKBUILDs in arbitrarily nested directories. # This test makes sure all of them are in one of the expected locations. def test_directories(): @@ -24,6 +25,7 @@ def test_directories(): assert apkbuilds == expected, "Found APKBUILD in unexpected directory. " \ "Consider adding it to test_directory_structure.py!" + # Make sure files are either: # - in root directory (README.md) # - hidden (.gitlab-ci/, device/.shared-patches/) @@ -49,4 +51,4 @@ def test_files_belong_to_package(): package_dir = dirpath assert not files or package_dir, "Found files that do not belong to any package: " \ - f"{dirpath}/{files}" + f"{dirpath}/{files}"