New branch
This commit is contained in:
commit
58d70409b5
31 changed files with 9093 additions and 0 deletions
35
.github/workflows/test.yml
vendored
Normal file
35
.github/workflows/test.yml
vendored
Normal file
|
@ -0,0 +1,35 @@
|
|||
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
|
Loading…
Add table
Add a link
Reference in a new issue