Frontend periscope-web manifests, pip requirements, and EDA logos/examples overlay from src. Docker installs from those files. Unused PinScope public blobs are dockerignored. Landing png/gif stay in dependency until native captures exist.
34 lines
853 B
YAML
34 lines
853 B
YAML
name: CI
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
|
|
jobs:
|
|
backend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.12"
|
|
cache: pip
|
|
- run: pip install -r periscope/src/backend/requirements.txt pytest pytest-asyncio
|
|
- run: pytest tests/ -q
|
|
|
|
frontend:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 22
|
|
cache: npm
|
|
cache-dependency-path: periscope/src/frontend/package-lock.json
|
|
- run: chmod +x scripts/materialize-frontend.sh && scripts/materialize-frontend.sh
|
|
- run: npm ci
|
|
working-directory: .merge/frontend
|
|
- run: npm run build
|
|
working-directory: .merge/frontend
|