Skip to content

Add GitHub Actions workflow to run tests on PRs#296

Merged
k8s-ci-robot merged 5 commits intomasterfrom
copilot/add-github-action-for-tests
Feb 3, 2026
Merged

Add GitHub Actions workflow to run tests on PRs#296
k8s-ci-robot merged 5 commits intomasterfrom
copilot/add-github-action-for-tests

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 28, 2026

Tests added in PR #294 are not executed in CI/CD. This adds a workflow to gate PRs on test success.

Changes

  • .github/workflows/tests.yml - Runs on PRs and pushes to master
    • Executes test_apidiscovery.py (Python unit tests)
    • Executes test_integration.sh (end-to-end spec processing verification)
    • Installs dependencies: urllib3>=2.0,<3.0, jq, curl
    • Sets permissions: contents: read per security best practices
Original prompt

This section details on the original issue you should resolve

<issue_title>Tests aren't run by github actions on PRs</issue_title>
<issue_description>This PR #294 added tests but they aren't run as part of CI/CD.

We should add a github action which runs these tests as a PR gate before merging.</issue_description>

Comments on the Issue (you are @copilot in this section)


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

@k8s-ci-robot k8s-ci-robot added do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jan 28, 2026
Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
@k8s-ci-robot k8s-ci-robot added size/M Denotes a PR that changes 30-99 lines, ignoring generated files. and removed size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. labels Jan 28, 2026
Copilot AI and others added 3 commits January 28, 2026 23:33
Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
Co-authored-by: brendandburns <5751682+brendandburns@users.noreply.github.com>
Copilot AI changed the title [WIP] Add GitHub action to run tests on PRs Add GitHub Actions workflow to run tests on PRs Jan 28, 2026
Copilot AI requested a review from brendandburns January 28, 2026 23:37
@brendandburns brendandburns marked this pull request as ready for review February 3, 2026 22:17
@k8s-ci-robot k8s-ci-robot removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Feb 3, 2026
@k8s-ci-robot k8s-ci-robot requested a review from yliaog February 3, 2026 22:17
@brendandburns
Copy link
Copy Markdown
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Feb 3, 2026
@k8s-ci-robot
Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: brendandburns, Copilot

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

The pull request process is described 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

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 3, 2026
@k8s-ci-robot k8s-ci-robot merged commit 909500e into master Feb 3, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Tests aren't run by github actions on PRs

3 participants