Skip to content

Commit 5e6da35

Browse files
committed
ci: skip security-audit tests in CI
The audit script checks live system state (running services, firewall rules, /proc mounts) that does not exist in a CI runner. Run locally.
1 parent c357cd2 commit 5e6da35

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/workflows/ci.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,9 @@ jobs:
3434
- name: Test — log redaction (11 tests)
3535
run: cd bin && bash redact-logs.test.sh
3636

37-
- name: Test — security audit (21 tests)
38-
run: cd bin && bash security-audit.test.sh
37+
# security-audit.sh checks live system state (running services, firewall,
38+
# /proc mounts) that doesn't exist in CI. Run it locally instead:
39+
# cd bin && bash security-audit.test.sh
3940

4041
secret-scan:
4142
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)