From 560f256a357067bd25e6777ac5cd59f1309c390c Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Thu, 6 Jun 2024 17:36:48 -0300 Subject: [PATCH] fixing minor problems on workflow --- .github/workflows/fly.yml | 10 ++++++++++ .../firecrawl/src/__tests__/e2e_withAuth/index.test.ts | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/.github/workflows/fly.yml b/.github/workflows/fly.yml index 957a707..c634811 100644 --- a/.github/workflows/fly.yml +++ b/.github/workflows/fly.yml @@ -100,6 +100,11 @@ jobs: name: Python SDK Tests needs: pre-deploy-e2e-tests runs-on: ubuntu-latest + services: + redis: + image: redis + ports: + - 6379:6379 steps: - uses: actions/checkout@v3 - name: Set up Python @@ -120,6 +125,11 @@ jobs: name: JavaScript SDK Tests needs: pre-deploy-e2e-tests runs-on: ubuntu-latest + services: + redis: + image: redis + ports: + - 6379:6379 steps: - uses: actions/checkout@v3 - name: Set up Node.js diff --git a/apps/js-sdk/firecrawl/src/__tests__/e2e_withAuth/index.test.ts b/apps/js-sdk/firecrawl/src/__tests__/e2e_withAuth/index.test.ts index c7dde69..2725c23 100644 --- a/apps/js-sdk/firecrawl/src/__tests__/e2e_withAuth/index.test.ts +++ b/apps/js-sdk/firecrawl/src/__tests__/e2e_withAuth/index.test.ts @@ -5,7 +5,7 @@ import dotenv from 'dotenv'; dotenv.config(); const TEST_API_KEY = process.env.TEST_API_KEY; -const API_URL = process.env.API_URL; +const API_URL = "http://127.0.0.1:3002"; describe('FirecrawlApp E2E Tests', () => { test.concurrent('should throw error for no API key', () => {