fix: use direct Python installation in CI/CD instead of action
Some checks failed
Basil CI/CD Pipeline / API Tests (pull_request) Failing after 13s
Basil CI/CD Pipeline / Code Linting (pull_request) Successful in 1m1s
Basil CI/CD Pipeline / Web Tests (pull_request) Successful in 1m6s
Basil CI/CD Pipeline / Shared Package Tests (pull_request) Successful in 58s
Basil CI/CD Pipeline / Security Scanning (pull_request) Successful in 1m8s
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 actions/setup-python@v5 action doesn't work in Gitea Actions
environment. Replaced with direct shell commands to check for python3
availability and install recipe-scrapers package directly with pip3.

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

View File

@@ -66,13 +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: Setup Python and dependencies
run: |
# Check if python3 is available, install if not
if ! command -v python3 &> /dev/null; then
apt-get update -qq && apt-get install -y -qq python3 python3-pip
fi
# Install recipe-scrapers
pip3 install recipe-scrapers
- name: Install dependencies
run: npm ci