cohere-ci-integration

Featured

Configure CI/CD for Cohere integrations with GitHub Actions and automated testing. Use when setting up automated testing for Chat/Embed/Rerank, configuring CI pipelines, or testing Cohere-powered applications. Trigger with phrases like "cohere CI", "cohere GitHub Actions", "cohere automated tests", "CI cohere", "cohere pipeline".

AI & Automation 2,926 stars 433 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 99/100

Stars 20%
100
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Cohere CI Integration ## Overview Set up CI/CD pipelines with automated unit tests (mocked) and integration tests (real API) for Cohere API v2 applications. ## Prerequisites - GitHub repository with Actions enabled - Cohere trial or production API key - `cohere-ai` package installed ## Instructions ### Step 1: GitHub Actions Workflow ```yaml # .github/workflows/cohere-ci.yml name: Cohere CI on: push: branches: [main] pull_request: branches: [main] jobs: unit-tests: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' - run: npm ci - run: npm test -- --coverage # Unit tests use mocked Cohere responses — no API key needed integration-tests: runs-on: ubuntu-latest if: github.event_name == 'push' && github.ref == 'refs/heads/main' env: CO_API_KEY: ${{ secrets.CO_API_KEY }} steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: node-version: '20' cache: 'npm' - run: npm ci - name: Run Cohere integration tests run: npm run test:integration timeout-minutes: 5 ``` ### Step 2: Configure GitHub Secrets ```bash # Store Cohere API key as a repo secret gh secret set CO_API_KEY --body "your-production-key-here" # Verify it was set gh secret list ``` ### Step 3: Unit Tests (Mocked — No API Key) ```typescript // tests/...

Details

Author
jeremylongshore
Repository
jeremylongshore/claude-code-plugins-plus-skills
Created
1 years ago
Last Updated
yesterday
Language
Python
License
MIT

Integrates with

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category