[bug/qa] Fix lint errors being ignored #485
Checklist
- [x] I have read the OpenWISP Contributing Guidelines.
- [x] I have manually tested the changes proposed in this pull request.
- [x] I have written new test cases for new code and/or updated existing tests for changes to existing code.
- [ ] I have updated the documentation.
Reference to Existing Issue
Closes #485.
Description of Changes
commit - fb328699a0a6fc8081e70b08e90b8eb88058fe0f
- Removed broken lint blocks from
molecule/default/molecule.ymlandmolecule/local/molecule.yml - Edited
run-qa-checksscript by adding yamllint and ansible-lint - Add
.yamllint.ymlconfig to exclude virtual environments and and irrelevant files - Update CI 'ci.yml' with
continue-on-error:true and added Added conditional test execution based on dependency installation success - Fixed indentation in
molecule/resources/converge.yml - Removed trailing spaces in
vars/debian-13.yml - Converted all YAML files from CRLF to LF line endings
- Lint errors are no longer ignored, failures properly reported
commit 986f4669a68e03a2579161e172e9e489f31e75f5
- Updated Molecule callback configuration to replace deprecated
yamlstdout_callback withansible.builtin.defaultandresult_format: yaml, resolving CI failures due to removal of community.general.yaml removal in v12+.
Screenshot
N/A
Hi @nemesifier ,
Just a quick update from my side:
After my original PR (fb32869) failed due to the Molecule deprecation issue (which was unrelated to the lint fixes), I added a follow-up commit (986f466) that updates the Molecule callback configuration and resolves the CI failure. You kindly triggered the GitHub Actions run for me, and all tests passed successfully. However, a recent commit in the repository has now introduced a merge conflict. Whenever you get a moment, could you please take a look at the PR again? All CI checks were previously green with my fix, so I can rebase or update the PR as needed once you confirm. No rush just wanted to keep everything on your radar. Thanks you for your time!!!