linux-system-roles / storage

Ansible role for linux storage management
https://linux-system-roles.github.io/storage/
MIT License
99 stars 55 forks source link

ci: Use supported ansible-lint action; run ansible-lint against the collection #414

Closed richm closed 6 months ago

richm commented 6 months ago

The old ansible-community ansible-lint is deprecated. There is a new ansible-lint github action.

The latest Ansible repo gating tests run ansible-lint against the collection format instead of against individual roles. We have to convert the role to collection format before running ansible-test.

This also requires tox-lsr 3.2.1 - bump other actions to use 3.2.1

Role developers can run this locally using tox -e collection,ansible-lint-collection See https://github.com/linux-system-roles/tox-lsr/pull/125

Signed-off-by: Rich Megginson rmeggins@redhat.com

codecov[bot] commented 6 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (8dbc9b4) 13.30% compared to head (00eb3b8) 13.30%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #414 +/- ## ======================================= Coverage 13.30% 13.30% ======================================= Files 8 8 Lines 1781 1781 Branches 79 79 ======================================= Hits 237 237 Misses 1544 1544 ``` | [Flag](https://app.codecov.io/gh/linux-system-roles/storage/pull/414/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles) | Coverage Δ | | |---|---|---| | [sanity](https://app.codecov.io/gh/linux-system-roles/storage/pull/414/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles) | `16.54% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=linux-system-roles#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.