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

feat: execute e2e-tests only when needed #1903

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tisutisu
Copy link
Contributor

@tisutisu tisutisu commented Feb 6, 2025

PR adds a logic to determine when the e2e-tests needs to be executed. E2e tests will be executed only for the pipelines/tasks/files changes for which coverage is there and for unrelated changes, it will skip e2e-tests execution task.
This is part of the story: https://issues.redhat.com/browse/STONEBLD-3161

@tisutisu tisutisu requested a review from a team as a code owner February 6, 2025 07:08
@tisutisu tisutisu force-pushed the run-e2e-on-relevent-change branch 4 times, most recently from 16542b0 to 28dd17c Compare February 7, 2025 10:57
@tisutisu tisutisu changed the title DNM: testing selective execution of e2e-tests fix: selective execution of e2e-tests Feb 7, 2025
@tisutisu tisutisu changed the title fix: selective execution of e2e-tests feat: execute e2e-tests only when needed Feb 7, 2025
Copy link
Contributor

@chmeliik chmeliik left a comment

Choose a reason for hiding this comment

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

The approach looks reasonable, some nitpicks

.tekton/tasks/task-switchboard.yaml Show resolved Hide resolved
.tekton/pull-request.yaml Outdated Show resolved Hide resolved
.tekton/scripts/determine-if-e2e-execution-needed.py Outdated Show resolved Hide resolved
.tekton/scripts/determine-if-e2e-execution-needed.py Outdated Show resolved Hide resolved
@tisutisu tisutisu force-pushed the run-e2e-on-relevent-change branch 3 times, most recently from e6ed63e to 0bb1986 Compare February 10, 2025 09:23
@tisutisu tisutisu force-pushed the run-e2e-on-relevent-change branch from 0bb1986 to deb30f4 Compare February 11, 2025 13:07
@tisutisu tisutisu added this pull request to the merge queue Feb 11, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Feb 11, 2025
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.

2 participants