-
Notifications
You must be signed in to change notification settings - Fork 21
31 lines (25 loc) · 1014 Bytes
/
plugin-tests.yml
File metadata and controls
31 lines (25 loc) · 1014 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: plugin-tests
on:
push:
branches: [main]
pull_request:
jobs:
shell-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install shellcheck + jq
run: sudo apt-get update && sudo apt-get install -y shellcheck jq
- name: Shellcheck agentic-security-assessment helper scripts
run: |
shellcheck -x \
plugins/agentic-security-assessment/scripts/_lib.sh \
plugins/agentic-security-assessment/scripts/apply-accepted-risks.sh \
plugins/agentic-security-assessment/scripts/apply-severity-floors.sh \
plugins/agentic-security-assessment/scripts/find-ci-files.sh \
plugins/agentic-security-assessment/scripts/phase-timer.sh
- name: Shellcheck test files
run: |
shellcheck plugins/agentic-security-assessment/tests/scripts/*.sh
- name: Run tests/scripts/run-all.sh
run: bash plugins/agentic-security-assessment/tests/scripts/run-all.sh