Skip to content

[rig-integration] Integration test run: all 3 tests skipped (no Copilot API credentials) #151

Description

@github-actions

Integration Test Results

Command: npm run test:integration
Test file: scripts/haiku.integration.test.ts
Result: ✅ No failures — 3 tests skipped

Summary

Metric Value
Test files 1 skipped
Tests passed 0
Tests failed 0
Tests skipped 3

Why tests were skipped

The integration test suite guards execution with:

const token = process.env["COPILOT_GITHUB_TOKEN"];
const sdkUri = process.env["COPILOT_SDK_URI"];
const itWithToken = token || sdkUri ? it : it.skip;

Neither COPILOT_GITHUB_TOKEN nor COPILOT_SDK_URI was set in the runner environment, so all three tests were skipped rather than executed against the live Copilot API.

Tests covered (when credentials are present)

  1. Haiku sample (src/samples/01-single-agent-haiku.ts)
  2. Sonnet sample (src/samples/56-single-agent-sonnet.ts)
  3. Complex integration sample (src/samples/57-complex-integration-sonnet.ts)

To run against the live API

Set one of the following environment variables before running npm run test:integration:

  • COPILOT_GITHUB_TOKEN — a personal GitHub token with Copilot access (uses stdio transport --server)
  • COPILOT_SDK_URI — a Copilot SDK URI (used in agentic workflow context)

Generated by Rig Integration Tests · sonnet46 10.1 AIC · ⊞ 5K ·

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions