Skip to content

Commit

Permalink
ci: github: resort and enable more compliance tests
Browse files Browse the repository at this point in the history
- Checks various nits in added/modified files, not coverd by other
  checks, e.g. checkpatch.pl and pylint.
- Checks if Emails of author and signed-off messages are consistent.
- Checks for conflict markers or whitespace errors.
- Run Git, Python and YAML linting on the commits and find issues
  with style and syntax.
- Run Linux kernel check patch script. That was adapted for Bridle.
- Check that MAINTAINERS file parses correctly.
- Check that all modules have a MAINTAINERS entry.
- Checks introducing any unwanted properties in Devicetree Bindings.
- Checks introducing any new warnings/errors with Kconfig when no
  modules are available.
- Checks introducing any new warnings/errors with Kconfig, the basic
  Kconfig test, which is checking only for undefined references.
- Check new HWMv2 scheme for boards and SoCs. This ensures the board
  and SoC trees are fully self-contained and reusable.
- Check the new board.yml file format that comes with HWMv2 scheme.
- Check for blocks of code or config that should be kept sorted.
- Check that any added image is limited in size.
- Check that the diff contains no binary files.

Signed-off-by: Stephan Linz <[email protected]>
  • Loading branch information
rexut committed May 8, 2024
1 parent c2a23cf commit eb53219
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions .github/workflows/qa-compliance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,24 +83,26 @@ jobs:
# debug
ls -la
git log --pretty=oneline | head -n 10
# -m Checkpatch \
# -m Kconfig \
${BRIDLE_BASE}/scripts/ci/check_compliance.py \
--annotate \
-m Nits \
-m Identity \
-m BinaryFiles \
-m BoardYml \
-m Checkpatch \
-m DevicetreeBindings \
-m GitDiffCheck \
-m Gitlint \
-m Pylint \
-m YAMLLint \
-m MaintainersFormat \
-m ModulesMaintainers \
-m DevicetreeBindings \
-m KconfigBasicNoModules \
-m Identity \
-m ImageSize \
-m KconfigBasic \
-m KconfigBasicNoModules \
-m KconfigHWMv2 \
-m KeepSorted \
-m ImageSize \
-m BinaryFiles \
-m MaintainersFormat \
-m ModulesMaintainers \
-m Nits \
-m Pylint \
-m YAMLLint \
-c origin/${BASE_REF}..
- name: Upload compliance tests results
Expand Down

0 comments on commit eb53219

Please sign in to comment.