Add integration tests for supported cloud providers#49
Merged
Conversation
grydz
force-pushed
the
integration-tests
branch
4 times, most recently
from
June 11, 2026 12:33
892af54 to
53cb153
Compare
Contributor
There was a problem hiding this comment.
Pull request overview
Adds Rust-based integration test binaries for TEE quote generation/parsing and quote verification, and wires them into GitHub Actions workflows that provision ephemeral instances on AWS/Azure/GCP to execute those binaries remotely.
Changes:
- Introduces three workspace member crates under
tests/(aws_tests,azure_tests,gcp_tests) that build provider-specific integration test harness binaries. - Updates the main build workflow to compile test binaries (
cargo test --tests --no-run) and upload them as artifacts for reuse. - Adds reusable per-cloud workflows plus a top-level
integration.ymlto orchestrate remote execution on each provider.
Reviewed changes
Copilot reviewed 15 out of 16 changed files in this pull request and generated 14 comments.
Show a summary per file
| File | Description |
|---|---|
tests/gcp_tests/src/test.rs |
Adds GCP CVM detection, quote retrieval/parsing, and verification tests. |
tests/gcp_tests/src/lib.rs |
Empty crate root for the GCP integration test package. |
tests/gcp_tests/Cargo.toml |
Defines the gcp_integration_tests test target and dependencies. |
tests/azure_tests/src/test.rs |
Adds Azure CVM detection, quote retrieval/parsing, and verification tests. |
tests/azure_tests/src/lib.rs |
Empty crate root for the Azure integration test package. |
tests/azure_tests/Cargo.toml |
Defines the az_integration_tests test target and dependencies. |
tests/aws_tests/src/test.rs |
Adds AWS CVM detection, quote retrieval/parsing, and verification tests. |
tests/aws_tests/src/lib.rs |
Adds crate code (currently template) for the AWS integration test package. |
tests/aws_tests/Cargo.toml |
Defines the aws_integration_tests test target and dependencies. |
Cargo.toml |
Registers the three new tests/* crates as workspace members. |
Cargo.lock |
Adds lock entries for the new test crates. |
.github/workflows/integration.yml |
Orchestrates provider workflows on PRs and depends on the build workflow for artifacts. |
.github/workflows/gcp.yml |
Provisions GCP CVM, copies the test binary, and executes it remotely. |
.github/workflows/build.yml |
Adds workflow_call, builds/upload test binaries, and tweaks CI steps. |
.github/workflows/azure.yml |
Provisions Azure CVM, copies the test binary, and executes it remotely. |
.github/workflows/aws.yml |
Provisions AWS instance, copies the test binary, and executes it remotely. |
Comments suppressed due to low confidence (1)
.github/workflows/build.yml:28
cargo install cargo-machetewithout--lockedmakes CI non-reproducible (it can start failing when a new dependency release lands). Using--lockedpins the resolved dependency versions from the crate's lockfile.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Manuthor
approved these changes
Jun 12, 2026
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Manuthor
approved these changes
Jun 12, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Added