Skip to content

Conversation

@stea9499
Copy link
Contributor

@stea9499 stea9499 commented Dec 6, 2024

This change currently triggers the core Cline unit tests. Note: the webview-ui tests currently appear to have some unrelated issues. Will look into those separately.

unit_tests


Important

Add unit-test job to GitHub Actions workflow to run Jest unit tests in CI.

  • CI/CD:
    • Adds unit-test job to .github/workflows/code-qa.yml to run unit tests using Jest.
    • Job includes steps to checkout code, setup Node.js, install dependencies, and execute tests.
  • Notes:
    • Webview-ui tests have unrelated issues and are not included in this change.

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

@stea9499 stea9499 marked this pull request as ready for review December 6, 2024 22:54
@stea9499 stea9499 requested review from a8trejo and cte December 6, 2024 22:54
Copy link
Contributor

@ellipsis-dev ellipsis-dev bot left a comment

Choose a reason for hiding this comment

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

❌ Changes requested. Reviewed everything up to 0e2f0a0 in 32 seconds

More details
  • Looked at 27 lines of code in 1 files
  • Skipped 0 files when reviewing.
  • Skipped posting 1 drafted comments based on config settings.
1. .github/workflows/code-qa.yml:25
  • Draft comment:
    The PR description is missing some required details. Please ensure it includes:
  • A comprehensive description of what is being changed and why.
  • How the changes have been tested.
  • Any related tickets/issues.
  • Information on visual/UI changes, if any, with before & after screenshots.

This is from our Development Standards: https://www.notion.so/Development-Standards-59febcf8ead647fd9c2ec3f60c22f3df?pvs=4#11869ad2d58180429648e12f7977d646

  • Reason this comment was not posted:
    Comment did not seem useful.

Workflow ID: wflow_b5QeVQBW7fQrrqcp


Want Ellipsis to fix these issues? Tag @ellipsis-dev in a comment. You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet mode, and more.


- name: Compile TypeScript
run: npm run compile

Copy link
Contributor

Choose a reason for hiding this comment

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

On line 11 I would rename code-qa to compile, since all the jobs in this workflow, including unit-test are part of code quality assurance

Copy link
Contributor

Choose a reason for hiding this comment

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

image

@stea9499 stea9499 merged commit 0ac3dd5 into main Dec 7, 2024
4 checks passed
@stea9499 stea9499 deleted the feature/addUnitTest2CI branch December 7, 2024 01:12
roomote pushed a commit that referenced this pull request Jul 8, 2025
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.

3 participants