Skip to content

chore(deps): bump urllib3 from 2.6.3 to 2.7.0 in /web #176

chore(deps): bump urllib3 from 2.6.3 to 2.7.0 in /web

chore(deps): bump urllib3 from 2.6.3 to 2.7.0 in /web #176

Workflow file for this run

name: PR CI
on:
pull_request:
branches:
- '**'
permissions:
contents: read
jobs:
validate:
name: Validate frontend and backend
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: npm
cache-dependency-path: web/package-lock.json
- name: Install frontend dependencies
working-directory: web
run: npm ci
- name: Run Frontend Tests
working-directory: web
run: npm run test
- name: Build frontend assets
working-directory: web
run: npm run build
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: '3.11'
cache: pip
cache-dependency-path: web/requirements.txt
- name: Install backend dependencies
run: pip install -r web/requirements.txt
- name: Run Backend Tests
working-directory: web
run: pytest tests/backend/
- name: Compile backend sources
working-directory: web
run: python -m compileall app fetcher.py server.py
- name: Smoke test Flask app factory
working-directory: web
env:
APP_ENV: testing
run: |
python - <<'PY'
from app import create_app
app = create_app()
print(f"Loaded Flask app with {len(app.url_map._rules)} routes")
PY