-
Notifications
You must be signed in to change notification settings - Fork 10
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
base: main
Are you sure you want to change the base?
Conversation
🌿 Preview your docs: https://cohere-preview-58eeaac5-a9ae-4283-93f0-ebbcdf238a15.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-3ed364d7-7374-42d6-bfb4-6a2b1daec19a.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-7c0f3766-3d67-41b9-8a89-e51da1297d44.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-eae70c20-b02e-4fe3-ae31-f73c21606b05.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-8ee9e0e1-c199-4d9c-b36e-5231d523a11d.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-2ec6b060-fdef-4c6d-9e79-9d984839319d.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-8959a3e0-4d40-4f27-b9bb-1ae130b1fb2f.docs.buildwithfern.com |
🌿 Preview your docs: https://cohere-preview-99c1bc2c-34a5-43a9-ab22-be56e71e6652.docs.buildwithfern.com |
This PR adds testing coverage to snippets:
This PR introduces a new package called
py-snips
and its dependencies, includingcohere
,cohere-ai
, andgray-matter
. It also adds a new workflow file calledsnippet-ci.yml
and updates thepackage.json
file.Changes
py-snips
is introduced, with dependencies oncohere
,cohere-ai
, andgray-matter
.snippet-ci.yml
is added, which defines a workflow for running tests and publishing documentation.package.json
file is updated to include the new package and its dependencies.babel.config.js
is added, which contains configuration for Babel, a JavaScript compiler.jest.config.ts
is added, which contains configuration for Jest, a JavaScript testing framework.package.json
is added, which contains metadata and configuration for the package.config.ts
is added, which contains configuration for the package.snippets.test.ts.snap
is added, which contains test snapshots for the package.utils.ts
is added, which contains utility functions for the package.pnpm-workspace.yaml
is added, which contains configuration for the package.poetry.lock
is added, which contains lock file information for the package.pyproject.toml
is added, which contains configuration for the package.