-
Notifications
You must be signed in to change notification settings - Fork 70
61 lines (51 loc) · 1.43 KB
/
test-combined-stores.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
name: Combined store Tests (vector+storage)
on:
pull_request:
branches: [main]
paths:
- "stores/**"
- "stores/*/package.json"
- ".github/workflows/test-combined-stores.yml"
permissions:
contents: read
pull-requests: read
jobs:
test:
runs-on: ubuntu-latest
permissions:
contents: read
services:
qdrant:
image: qdrant/qdrant
ports:
- 6333:6333
chromadb:
image: chromadb/chroma
ports:
- 8000:8000
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 9.7.0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20"
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Build core
run: pnpm build:core
- name: Build combined storage packages
run: pnpm build:combined-stores
- name: Run combined storage tests
run: pnpm test:combined-stores
env:
NODE_OPTIONS: "--max_old_space_size=8096"
PINECONE_API_KEY: ${{ secrets.PINECONE_API_KEY }}
ASTRA_DB_ENDPOINT: ${{ secrets.ASTRA_DB_ENDPOINT }}
ASTRA_DB_TOKEN: ${{ secrets.ASTRA_DB_TOKEN }}
CLOUDFLARE_API_TOKEN: ${{ secrets.ABHI_CLOUDFLARE_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.ABHI_CLOUDFLARE_ACCOUNT_ID }}