mvpg/.github/workflows/test.yml
2025-08-10 15:34:34 +02:00

35 lines
691 B
YAML

name: Test Installation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-install:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Test installer syntax
run: |
bash -n install.sh
for script in scripts/*.sh; do
bash -n "$script"
done
- name: Test Python syntax
run: |
python3 -m py_compile backend/app.py
- name: Security scan
run: |
pip install bandit
bandit -r backend/ || true
- name: Shellcheck
run: |
sudo apt-get install -y shellcheck
shellcheck install.sh scripts/*.sh || true