This commit is contained in:
Gergő Móricz 2025-06-03 16:47:32 +02:00
parent 4e5feca3dd
commit ede7aec1f9
3 changed files with 12 additions and 11 deletions

View File

@ -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
# - uses: actions/upload-artifact@v4
# if: always()
# with:
# name: Logs
# path: |
# ./apps/api/api.log
# ./apps/api/worker.log
# ./apps/api/index-worker.log

View File

@ -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",

View File

@ -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;