Skip to content

Conversation

@cte
Copy link
Collaborator

@cte cte commented Jan 31, 2025

Description

Clean up our integration tests and run them in CI.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Checklist:

  • My code follows the patterns of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

Additional context

Related Issues

Reviewers


Important

Add integration tests to CI workflow with necessary configurations and updates.

  • CI Workflow:
    • Adds integration-test job to code-qa.yml for macOS, with conditional Linux support using xvfb-run.
    • Adds workflow_dispatch to trigger workflows manually.
  • Configuration:
    • Introduces .env.integration.example for environment variables.
    • Adds tsconfig.integration.json for integration test compilation.
    • Updates package.json scripts to include compile:integration and test:extension.
  • Code Changes:
    • Modifies ClineProvider in ClineProvider.ts to expose messages for testing.
    • Refactors extension.test.ts and adds task.test.ts for integration tests.
  • Environment:
    • Adds flake.nix and flake.lock for Nix-based development environment setup.

This description was created by Ellipsis for eda5680. It will automatically update as commits are pushed.

@changeset-bot
Copy link

changeset-bot bot commented Jan 31, 2025

⚠️ No Changeset found

Latest commit: eda5680

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@cte cte closed this Jan 31, 2025
@cte cte deleted the cte/integration-tests branch January 31, 2025 22:11
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