Skip to content

ci: make "lint" and "test" reusable local actions #1342

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

Merged
merged 1 commit into from
Jun 9, 2025

Conversation

Alex-Izquierdo
Copy link
Collaborator

@Alex-Izquierdo Alex-Izquierdo commented Jun 6, 2025

Follow up #1341
This PR extract "lint" and "test" jobs into reusable local actions, so other workflows can reuse the same logic.
So far, only current "test" and "lint" jobs are extrated as standanlone jobs, more granular reusability might be needed in the future.

Jira: https://issues.redhat.com/browse/AAP-46938

@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 93.91%. Comparing base (9346d36) to head (7912076).

@@           Coverage Diff           @@
##             main    #1342   +/-   ##
=======================================
  Coverage   93.91%   93.91%           
=======================================
  Files         318      318           
  Lines       18741    18741           
=======================================
  Hits        17601    17601           
  Misses       1140     1140           
Flag Coverage Δ
unit-int-tests-3.11 93.85% <ø> (ø)
unit-int-tests-3.12 93.91% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Alex <aizquier@redhat.com>
Copy link

sonarqubecloud bot commented Jun 9, 2025

@Alex-Izquierdo Alex-Izquierdo changed the title WIP: Reusable actions ci: make "lint" and "test" reusable local actions Jun 9, 2025
@Alex-Izquierdo Alex-Izquierdo marked this pull request as ready for review June 9, 2025 11:29
@Alex-Izquierdo Alex-Izquierdo requested a review from a team as a code owner June 9, 2025 11:29
@Alex-Izquierdo Alex-Izquierdo merged commit 05598a1 into ansible:main Jun 9, 2025
7 checks passed
@Alex-Izquierdo Alex-Izquierdo deleted the reusable-actions branch June 9, 2025 15:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants