Skip to content

GH actions for ci.yaml workflow - testsuite deprecation check.#46351

Open
lhanusov wants to merge 1 commit intokeycloak:mainfrom
lhanusov:46291/gha-arquillian-check
Open

GH actions for ci.yaml workflow - testsuite deprecation check.#46351
lhanusov wants to merge 1 commit intokeycloak:mainfrom
lhanusov:46291/gha-arquillian-check

Conversation

@lhanusov
Copy link
Contributor

Closes #46291

@lhanusov lhanusov requested a review from a team as a code owner February 15, 2026 22:40
@lhanusov lhanusov force-pushed the 46291/gha-arquillian-check branch 4 times, most recently from a50d843 to 51a2326 Compare February 15, 2026 23:30
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
@lhanusov lhanusov force-pushed the 46291/gha-arquillian-check branch from 51a2326 to ae4f4a1 Compare February 15, 2026 23:31
Copy link
Contributor

@stianst stianst left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should add testsuite/DEPRECATED.md in the same PR; and it would probably be better to link to that file than the new test framework docs, as it can explain that it's deprecated, why, and also link to the new test framework docs and new base tests module.

echo "Checking testsuite module changes."
echo "----------------------------------------------------------------------------------------"

CHANGED_FILES=$(gh api -X GET --paginate repos/$REPOSITORY/pulls/$CHANGE_ID/files --jq 'map(select(.filename | contains("testsuite/")) | select (.changes >= 50) | {filename}) | length')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very nice and clean approach. Have you tried it out to verify this does what we want? Will it also include new files and not just updated files?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should differentiate between new files (not allowed) and updates to existing files (only X lines allowed)

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.

Introduce GH Actions check

2 participants