Skip to content

Edburns/dd 2855288 add smoke test to build and test#27

Merged
edburns merged 3 commits intogithub:mainfrom
edburns:edburns/dd-2855288-add-smoke-test-to-build-and-test
Mar 25, 2026
Merged

Edburns/dd 2855288 add smoke test to build and test#27
edburns merged 3 commits intogithub:mainfrom
edburns:edburns/dd-2855288-add-smoke-test-to-build-and-test

Conversation

@edburns
Copy link
Copy Markdown
Collaborator

@edburns edburns commented Mar 25, 2026

No description provided.

edburns added 2 commits March 25, 2026 01:11
…oke test a pre-condition for the build-test.yml.

modified:   .github/workflows/build-test.yml
modified:   .github/workflows/run-smoke-test.yml

Signed-off-by: Ed Burns <edburns@microsoft.com>
Copilot AI review requested due to automatic review settings March 25, 2026 05:13
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a reusable “smoke test” workflow and wires it into the main Build & Test pipeline to validate a locally-built SDK via Copilot CLI before running the full Java test suite.

Changes:

  • Enable run-smoke-test.yml to be invoked as a reusable workflow via workflow_call (with required secret wiring).
  • Add a new smoke-test job to build-test.yml and make java-sdk depend on it.
  • Switch build-test.yml’s Java distribution to microsoft.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
.github/workflows/run-smoke-test.yml Makes the smoke test workflow callable from other workflows and declares required secrets.
.github/workflows/build-test.yml Adds a smoke-test job into CI and updates job ordering / Java distribution.

modified:   .github/workflows/build-test.yml

More absolutely excellent copilot review feedback.

> java-sdk now has needs: smoke-test, but the called workflow’s only job is gated by if: github.ref == 'refs/heads/main' (.github/workflows/run-smoke-test.yml:17). On pull_request and merge_group runs, smoke-test will be skipped, which will cause java-sdk to be skipped as well (no tests run). Consider either removing the hard dependency, or adding an explicit job if: ${{ always() && needs.smoke-test.result != 'failure' }} (or similar) so java-sdk still runs when smoke-test is skipped.

Signed-off-by: Ed Burns <edburns@microsoft.com>
@edburns edburns merged commit 65c3f29 into github:main Mar 25, 2026
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