Skip to content

ci: Run unittests on commits to main and align checks for uncommited files - #216

Open
christian-heusel wants to merge 2 commits into
kubeflow:mainfrom
christian-heusel:enable-unit-tests
Open

christian-heusel wants to merge 2 commits into
kubeflow:mainfrom
christian-heusel:enable-unit-tests

Conversation

@christian-heusel

Copy link
Copy Markdown
Member
  • ci: Enable the unit tests on the default branch
  • ci: Check for uncommited files in profile-controller unit tests

@google-oss-prow google-oss-prow Bot added the area/ci area - related to ci label Feb 21, 2026
@christian-heusel

Copy link
Copy Markdown
Member Author

/ok-to-test

@github-actions

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs.
Thank you for your contributions.

Members may comment /lifecycle frozen to prevent this pull request from being marked as stale.

@github-actions

github-actions Bot commented Jun 7, 2026

Copy link
Copy Markdown

This pull request has been automatically closed because it has not had recent activity.
You can reopen the PR if you want.

@github-actions github-actions Bot closed this Jun 7, 2026
@thesuperzapper

Copy link
Copy Markdown
Member

/reopen

@google-oss-prow google-oss-prow Bot reopened this Jun 7, 2026
@google-oss-prow

Copy link
Copy Markdown

@thesuperzapper: Reopened this PR.

Details

In response to this:

/reopen

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@github-actions

github-actions Bot commented Aug 7, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity.
It will be closed if no further activity occurs.
Thank you for your contributions.

Members may comment /lifecycle frozen to prevent this pull request from being marked as stale.

@github-actions

Copy link
Copy Markdown

This pull request has been automatically closed because it has not had recent activity.
You can reopen the PR if you want.

@github-actions github-actions Bot closed this Aug 28, 2026
@christian-heusel

Copy link
Copy Markdown
Member Author

/reopen
/cc @juliusvonkohout

@google-oss-prow google-oss-prow Bot reopened this Aug 28, 2026
@google-oss-prow

Copy link
Copy Markdown

@christian-heusel: Reopened this PR.

Details

In response to this:

/reopen
/cc @juliusvonkohout

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign juliusvonkohout for approval. For more information see the Kubernetes Code Review Process.

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

Suggested-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Signed-off-by: Christian Heusel <christian@heusel.eu>
Suggested-by: Mathew Wicks <5735406+thesuperzapper@users.noreply.github.com>
Signed-off-by: Christian Heusel <christian@heusel.eu>

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟡 Changes recommended

The newly added profile-controller check duplicates the existing step exactly.

Once you've addressed the issues Copilot identified, you can request another Copilot review.

Pull request overview

Enables unit-test workflows for pushes to main.

Changes:

  • Adds push triggers for both unit-test workflows.
  • Adds a duplicate profile-controller cleanliness check.
File summaries
File Description
.github/workflows/profile_controller_unit_test.yaml Adds main push trigger and duplicate check.
.github/workflows/poddefaults_unit_test.yaml Adds main push trigger.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 1
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +49 to +60

- name: Check if there are uncommitted file changes
working-directory: components/profile-controller
run: |
clean=$(git status --porcelain)
if [[ -z "$clean" ]]; then
echo "Empty git status --porcelain: $clean"
else
echo "Uncommitted file changes detected: $clean"
git diff
exit 1
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants