This verifies that the DEVELOPERS file doesn't contain errors. It
just runs parse_developers from getdeveloperlib and errors out if
that produces any output.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
- make .gitlab-ci.yml
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
+check-DEVELOPERS:
+ script:
+ - PYTHONPATH=$PWD/support/scripts
+ python -c 'from getdeveloperlib import parse_developers; parse_developers()' |
+ grep . && exit 1
+
.defconfig: &defconfig
# Running the defconfigs for every push is too much, so limit to
# explicit triggers through the API.
- make .gitlab-ci.yml
- diff -u .gitlab-ci.yml.orig .gitlab-ci.yml
+check-DEVELOPERS:
+ script:
+ - PYTHONPATH=$PWD/support/scripts
+ python -c 'from getdeveloperlib import parse_developers; parse_developers()' |
+ grep . && exit 1
+
.defconfig: &defconfig
# Running the defconfigs for every push is too much, so limit to
# explicit triggers through the API.