diff --git a/.github/workflows/test-server.yml b/.github/workflows/test-server.yml index 68e35b72..415d3d3a 100644 --- a/.github/workflows/test-server.yml +++ b/.github/workflows/test-server.yml @@ -33,6 +33,7 @@ env: RUNPOD_MU_API_KEY: ${{ secrets.RUNPOD_MU_API_KEY }} GCS_CREDENTIALS: ${{ secrets.GCS_CREDENTIALS }} GCS_BUCKET_NAME: ${{ secrets.GCS_BUCKET_NAME }} + GCS_INDEX_BUCKET_NAME: ${{ secrets.GCS_INDEX_BUCKET_NAME }} GOOGLE_GENERATIVE_AI_API_KEY: ${{ secrets.GOOGLE_GENERATIVE_AI_API_KEY }} GROQ_API_KEY: ${{ secrets.GROQ_API_KEY }} ANTHROPIC_API_KEY: ${{ secrets.ANTHROPIC_API_KEY }} @@ -115,11 +116,11 @@ jobs: - name: Kill instances if: always() run: pkill -9 node - - uses: actions/upload-artifact@v4 - if: always() - with: - name: Logs - path: | - ./apps/api/api.log - ./apps/api/worker.log - ./apps/api/index-worker.log \ No newline at end of file + # - uses: actions/upload-artifact@v4 + # if: always() + # with: + # name: Logs + # path: | + # ./apps/api/api.log + # ./apps/api/worker.log + # ./apps/api/index-worker.log \ No newline at end of file diff --git a/apps/api/package.json b/apps/api/package.json index 5a8547db..9866c3bc 100644 --- a/apps/api/package.json +++ b/apps/api/package.json @@ -15,7 +15,7 @@ "test:local-no-auth": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='src/__tests__/e2e_withAuth/*'", "test:full": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='(src/__tests__/e2e_noAuth|src/__tests__/e2e_withAuth)'", "test:prod": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false --testPathIgnorePatterns='(src/__tests__/e2e_noAuth|src/__tests__/e2e_full_withAuth|src/scraper/scrapeURL)'", - "test:snips": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false src/__tests__/snips/scrape.test.ts", + "test:snips": "npx jest --detectOpenHandles --forceExit --openHandlesTimeout=120000 --watchAll=false src/__tests__/snips/*.test.ts", "workers": "nodemon --exec ts-node src/services/queue-worker.ts", "worker:production": "node dist/src/services/queue-worker.js", "index-worker": "nodemon --exec ts-node src/services/indexing/index-worker.ts", diff --git a/apps/api/src/__tests__/snips/scrape.test.ts b/apps/api/src/__tests__/snips/scrape.test.ts index 07c47ec6..67c9f490 100644 --- a/apps/api/src/__tests__/snips/scrape.test.ts +++ b/apps/api/src/__tests__/snips/scrape.test.ts @@ -97,8 +97,8 @@ describe("Scrape tests", () => { }, 30000); }); - describe.only("Index", () => { - it.only("caches properly", async () => { + describe("Index", () => { + it.concurrent("caches properly", async () => { const id = crypto.randomUUID(); const url = "https://firecrawl.dev/?testId=" + id;