Skip to content

Commit 0aac322

Browse files
SecAI-Hubclaude
andcommitted
Fix CI to cover all test files, shell scripts, and Python sources
- shellcheck: glob all *.sh instead of hardcoding 5 of 20 scripts - python tests: run all 15 test files instead of only 2 - python lint: check all 8 service source files instead of 3 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4596440 commit 0aac322

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

.github/workflows/ci.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -81,12 +81,14 @@ jobs:
8181
python -m py_compile services/quarantine/quarantine/pipeline.py
8282
python -m py_compile services/quarantine/quarantine/watcher.py
8383
python -m py_compile services/ui/ui/app.py
84+
python -m py_compile services/search-mediator/app.py
85+
python -m py_compile services/diffusion-worker/app.py
86+
python -m py_compile services/common/audit_chain.py
87+
python -m py_compile services/common/auth.py
88+
python -m py_compile services/common/mlock_helper.py
8489
85-
- name: Test quarantine pipeline
86-
run: python -m pytest tests/test_pipeline.py -v
87-
88-
- name: Test UI app
89-
run: python -m pytest tests/test_ui.py -v
90+
- name: Test
91+
run: python -m pytest tests/ -v
9092

9193
shellcheck:
9294
name: Shell Script Lint
@@ -99,11 +101,9 @@ jobs:
99101
- name: Lint shell scripts
100102
run: |
101103
shellcheck -s bash \
102-
files/system/usr/libexec/secure-ai/firstboot.sh \
103-
files/system/usr/libexec/secure-ai/panic.sh \
104-
files/system/usr/libexec/secure-ai/setup-vault.sh \
105-
files/system/usr/libexec/secure-ai/select-model.sh \
106-
files/scripts/build-services.sh
104+
files/system/usr/libexec/secure-ai/*.sh \
105+
files/scripts/build-services.sh \
106+
files/scripts/generate-mok.sh
107107
108108
policy-validate:
109109
name: Validate YAML configs

0 commit comments

Comments
 (0)