ci: use gitlab ci lint api instead of yaml parsing

This commit is contained in:
Fu Hanxi
2026-07-14 15:13:26 +02:00
parent c43152bdee
commit 2e271ea0c0
8 changed files with 126 additions and 176 deletions

View File

@@ -127,7 +127,6 @@ variables:
run_cmd idf-ci gitlab upload-artifacts --type log
fi
#############
# `default` #
#############

View File

@@ -147,6 +147,12 @@ check_test_scripts_build_test_rules:
# requires basic pytest dependencies
- python tools/ci/check_build_test_rules.py check-test-scripts examples/ tools/test_apps components
check_gitlab_yaml:
extends:
- .pre_check_template
script:
- python tools/ci/gitlab_yaml_linter.py
retry_failed_jobs:
extends:
- .pre_check_template