Skip to content

Skip e2e tests when only non-e2e workflow files change - #2102

Open
khrm wants to merge 1 commit into
tektoncd:mainfrom
khrm:skip-e2e-for-non-e2e-workflow-changes
Open

Skip e2e tests when only non-e2e workflow files change#2102
khrm wants to merge 1 commit into
tektoncd:mainfrom
khrm:skip-e2e-for-non-e2e-workflow-changes

Conversation

@khrm

@khrm khrm commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Adds change detection logic to categorize whether modified files require e2e testing. Non-e2e workflow files (go-coverage, codeql, dependabot-regen, etc.), codecov config, and docs skip e2e.

Changes

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

NONE

Adds change detection logic to categorize whether modified files
require e2e testing. Non-e2e workflow files (go-coverage, codeql,
dependabot-regen, etc.), codecov config, and docs skip e2e.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tekton-robot tekton-robot added the release-note-none Denotes a PR that doesnt merit a release note. label Aug 14, 2026
@tekton-robot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
To complete the pull request process, please ask for approval from khrm after the PR has been reviewed.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot added the size/S Denotes a PR that changes 10-29 lines, ignoring generated files. label Aug 14, 2026

@khrm khrm left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

/kind misc

@tekton-robot tekton-robot added the kind/misc Categorizes issue or PR as a miscellaneuous one. label Aug 14, 2026
@codecov

codecov Bot commented Aug 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.14%. Comparing base (72d276a) to head (8532a89).
⚠️ Report is 21 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2102      +/-   ##
==========================================
+ Coverage   31.95%   32.14%   +0.19%     
==========================================
  Files         260      260              
  Lines       11967    11967              
==========================================
+ Hits         3824     3847      +23     
+ Misses       7824     7797      -27     
- Partials      319      323       +4     
Flag Coverage Δ
unit-tests 32.14% <ø> (+0.19%) ⬆️

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

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

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

@khrm khrm left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

@savitaashture We can merge this also.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/misc Categorizes issue or PR as a miscellaneuous one. release-note-none Denotes a PR that doesnt merit a release note. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants