Skip to content

feat: updated index docs #1579

feat: updated index docs

feat: updated index docs #1579

Workflow file for this run

name: Test
on:
pull_request:
jobs:
build:
runs-on: ubuntu-latest
services:
pinecone:
image: ghcr.io/pinecone-io/pinecone-local:latest
env:
PORT: 5080
PINECONE_HOST: localhost
ports:
- "5080-6000:5080-6000"
strategy:
matrix:
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
python-version: ${{ matrix.python-version }}
- name: Install Dependencies
run: uv sync --extra all
- name: Install nltk
run: uv pip install nltk
- name: Download nltk data
run: |
uv run python -m nltk.downloader punkt stopwords wordnet punkt_tab
- name: Pytest All
env:
PINECONE_API_KEY: pclocal
PINECONE_API_BASE_URL: http://localhost:5080
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}
COHERE_API_KEY: ${{ secrets.COHERE_API_KEY }}
run: |
make test
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v2
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
with:
file: ./coverage.xml
fail_ci_if_error: false