From: Simon Glass <simon.glass@canonical.com> Add a CI job to run buildman's test coverage check. This ensures test coverage doesn't regress when changes are made to buildman. Co-developed-by: Claude Opus 4.5 <noreply@anthropic.com> Signed-off-by: Simon Glass <simon.glass@canonical.com> --- .gitlab-ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06cdb6500be..eec57710cbb 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -305,6 +305,16 @@ Run binman, buildman, dtoc, hwids_to_dtsi, Kconfig, patman and pickman suites: python3 -m pytest ./test/scripts/test_release_version.py; make testconfig +Run buildman coverage: + extends: .test_suites + script: + - git config --global --add safe.directory "${CI_PROJECT_DIR}"; + python3 -m venv /tmp/venv; + . /tmp/venv/bin/activate; + pip install -r tools/buildman/requirements.txt + -r tools/u_boot_pylib/requirements.txt; + ./tools/buildman/buildman --coverage + # Check for any pylint regressions Run pylint: extends: .test_suites -- 2.43.0