fix: add Python dependencies to CI/CD for scraper tests
Some checks failed
Basil CI/CD Pipeline / Shared Package Tests (pull_request) Successful in 1m15s
Basil CI/CD Pipeline / API Tests (pull_request) Failing after 1m17s
Basil CI/CD Pipeline / Code Linting (pull_request) Successful in 1m21s
Basil CI/CD Pipeline / Web Tests (pull_request) Successful in 1m27s
Basil CI/CD Pipeline / Security Scanning (pull_request) Successful in 1m33s
Basil CI/CD Pipeline / Build All Packages (pull_request) Has been skipped
Basil CI/CD Pipeline / E2E Tests (pull_request) Has been skipped
Basil CI/CD Pipeline / Build & Push Docker Images (pull_request) Has been skipped
Basil CI/CD Pipeline / Trigger Deployment (pull_request) Has been skipped

The API tests were failing in CI/CD because the recipe-scrapers Python
module was not installed. Added Python setup and pip install steps to
the test-api job to ensure scraper.service.real.test.ts tests have the
required dependencies available.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
Paul R Kartchner
2026-01-16 22:26:42 -07:00
parent 49db2ce0a4
commit 4c8fd0c028

View File

@@ -66,6 +66,14 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}
- name: Setup Python
uses: actions/setup-python@v5
with:
python-version: '3.x'
- name: Install Python dependencies
run: pip3 install recipe-scrapers
- name: Install dependencies
run: npm ci