1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-21 23:18:13 +00:00

ci: enable yaml checks

This commit is contained in:
Pavol Rusnak 2020-11-11 14:23:28 +01:00
parent 09a8d4229e
commit 473fb1a3a6
No known key found for this signature in database
GPG Key ID: 91F3B339B9A02A3D
4 changed files with 38 additions and 29 deletions

View File

@ -33,6 +33,7 @@ script:
- poetry run make style_check
- poetry run make defs_check
- poetry run make gen_check
- poetry run make yaml_check
- ci/check_fixup.sh
notifications:

View File

@ -8,3 +8,6 @@ rules:
line-length: disable
# skip "---" at the beginning
document-start: disable
comments-indentation: disable
indentation:
spaces: 2

View File

@ -39,13 +39,13 @@ pystyle: ## apply code style on application sources and tests
@flake8 $(PY_FILES)
make -C python style
changelog_check: # check changelog format
changelog_check: ## check changelog format
./tools/linkify-changelogs.py --check
yaml_check:
yaml_check: ## check yaml formatting
yamllint .
changelog: # fill out issue links in changelog
changelog: ## fill out issue links in changelog
./tools/linkify-changelogs.py
cstyle_check: ## run code style check on low-level C code

View File

@ -17,6 +17,11 @@ gen prebuild:
script:
- nix-shell --run "poetry run make gen_check"
yaml prebuild:
stage: prebuild
script:
- nix-shell --run "poetry run make yaml_check"
release commit messages prebuild:
stage: prebuild
before_script: [] # nothing needed