mirror of
https://github.com/linux-system-roles/network.git
synced 2026-01-24 02:45:12 +00:00
add ansible-lint to github actions
Since we have disabled linting in molecule, use tox for running ansible-lint. In addition, fix molecule config to use `false` instead of `False` since the former is the correct YAML boolean value. This also will make network consistent with the other roles. Signed-off-by: Rich Megginson <rmeggins@redhat.com>
This commit is contained in:
parent
023ecbd027
commit
7798dcdfd3
1 changed files with 1 additions and 1 deletions
2
.github/workflows/tox.yml
vendored
2
.github/workflows/tox.yml
vendored
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
toxenvs="py${toxpyver}"
|
||||
case "$toxpyver" in
|
||||
27) toxenvs="${toxenvs},coveralls,flake8,pylint" ;;
|
||||
36) toxenvs="${toxenvs},coveralls,black,yamllint,collection" ;;
|
||||
36) toxenvs="${toxenvs},coveralls,black,yamllint,ansible-lint,collection" ;;
|
||||
37) toxenvs="${toxenvs},coveralls" ;;
|
||||
38) toxenvs="${toxenvs},coveralls" ;;
|
||||
esac
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue