Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for snippets #215

Open
wants to merge 16 commits into
base: main
Choose a base branch
from
Open

Add tests for snippets #215

wants to merge 16 commits into from

Conversation

billytrend-cohere
Copy link
Collaborator

@billytrend-cohere billytrend-cohere commented Oct 25, 2024

This PR adds testing coverage to snippets:

This PR introduces a new package called py-snips and its dependencies, including cohere, cohere-ai, and gray-matter. It also adds a new workflow file called snippet-ci.yml and updates the package.json file.

Changes

  • New Package: A new package called py-snips is introduced, with dependencies on cohere, cohere-ai, and gray-matter.
  • Workflow File: A new workflow file called snippet-ci.yml is added, which defines a workflow for running tests and publishing documentation.
  • Package.json: The package.json file is updated to include the new package and its dependencies.
  • Babel Config: A new file called babel.config.js is added, which contains configuration for Babel, a JavaScript compiler.
  • Jest Config: A new file called jest.config.ts is added, which contains configuration for Jest, a JavaScript testing framework.
  • Package.json: A new file called package.json is added, which contains metadata and configuration for the package.
  • Config: A new file called config.ts is added, which contains configuration for the package.
  • Test Snapshots: A new file called snippets.test.ts.snap is added, which contains test snapshots for the package.
  • Utils: A new file called utils.ts is added, which contains utility functions for the package.
  • Pnpm-workspace.yaml: A new file called pnpm-workspace.yaml is added, which contains configuration for the package.
  • Poetry.lock: A new file called poetry.lock is added, which contains lock file information for the package.
  • Pyproject.toml: A new file called pyproject.toml is added, which contains configuration for the package.

Copy link

Copy link

Copy link

Copy link

Copy link

Copy link

Copy link

Copy link

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