Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend ansible-lint testing to cover our test cases #731

Closed
schurzi opened this issue Dec 6, 2023 · 0 comments · Fixed by #732
Closed

Extend ansible-lint testing to cover our test cases #731

schurzi opened this issue Dec 6, 2023 · 0 comments · Fixed by #732

Comments

@schurzi
Copy link
Contributor

schurzi commented Dec 6, 2023

Description

Currently we run our linting only on our published roles, ignoring all other Ansible code.

Solution

We should extend it to our test code as well to catch problems in the tests

- name: Lint Ansible Playbook
# replace "master" with any valid ref
uses: ansible/ansible-lint-action@main
with:
path: "roles/"

Alternatives

No response

Additional information

...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
1 participant