utils/checkpackagelib: run unit tests on GitLab CI

... so we can catch regressions on check-package.

Update to the new docker image that was pushed after the previous
commit.

Signed-off-by: Ricardo Martincoski <ricardo.martincoski@gmail.com>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Ricardo Martincoski 2022-01-23 13:08:45 -03:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent a9061b7e68
commit fcceee0b2e
3 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# Configuration for Gitlab-CI.
# Builds appear on https://gitlab.com/buildroot.org/buildroot/pipelines
image: $CI_REGISTRY/buildroot.org/buildroot/base:20220105.2314
image: $CI_REGISTRY/buildroot.org/buildroot/base:20220206.1324
stages:
- generate-gitlab-ci

View File

@ -1,3 +1,7 @@
.check-check-package_base:
script:
- python3 -m pytest -v utils/checkpackagelib/
.check-DEVELOPERS_base:
# get-developers should print just "No action specified"; if it prints
# anything else, it's a parse error.

View File

@ -26,7 +26,7 @@ gen_tests() {
local do_basics do_defconfigs do_runtime do_testpkg
local defconfigs_ext cfg tst
basics=( DEVELOPERS flake8 package )
basics=( check-package DEVELOPERS flake8 package )
defconfigs=( $(cd configs; LC_ALL=C ls -1 *_defconfig) )