fixing minor problems on workflow

This commit is contained in:
rafaelsideguide 2024-06-06 17:36:48 -03:00
parent 4c3bfe4eb5
commit 560f256a35
2 changed files with 11 additions and 1 deletions

View File

@ -100,6 +100,11 @@ jobs:
name: Python SDK Tests name: Python SDK Tests
needs: pre-deploy-e2e-tests needs: pre-deploy-e2e-tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Python - name: Set up Python
@ -120,6 +125,11 @@ jobs:
name: JavaScript SDK Tests name: JavaScript SDK Tests
needs: pre-deploy-e2e-tests needs: pre-deploy-e2e-tests
runs-on: ubuntu-latest runs-on: ubuntu-latest
services:
redis:
image: redis
ports:
- 6379:6379
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v3
- name: Set up Node.js - name: Set up Node.js

View File

@ -5,7 +5,7 @@ import dotenv from 'dotenv';
dotenv.config(); dotenv.config();
const TEST_API_KEY = process.env.TEST_API_KEY; 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', () => { describe('FirecrawlApp E2E Tests', () => {
test.concurrent('should throw error for no API key', () => { test.concurrent('should throw error for no API key', () => {