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