Ver Fonte

support/scripts/gitlab-ci.yml.in: use get-developers -v in check-DEVELOPERS

Now that we have a working mechanism to validate the DEVELOPERS file
with the get-developers -v option, let's use it.

This brings back proper validation of the DEVELOPERS file, as
get-developers without argument no longer did any validation following
commit 45aabcddc5 utils/get-developers: really make it callable from
elsewhere than the toplevel directory".

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Thomas Petazzoni há 3 anos atrás
pai
commit
4ed7bca6a0
1 ficheiros alterados com 1 adições e 4 exclusões
  1. 1 4
      support/misc/gitlab-ci.yml.in

+ 1 - 4
support/misc/gitlab-ci.yml.in

@@ -3,11 +3,8 @@
         - python3 -m pytest -v utils/checkpackagelib/
         - python3 -m pytest -v utils/checkpackagelib/
 
 
 .check-DEVELOPERS_base:
 .check-DEVELOPERS_base:
-    # get-developers should print just "No action specified"; if it prints
-    # anything else, it's a parse error.
-    # The initial ! is removed by YAML so we need to quote it.
     script:
     script:
-        - "! utils/get-developers | grep -v 'No action specified'"
+        - utils/get-developers -v
 
 
 .check-flake8_base:
 .check-flake8_base:
     script:
     script: