Skip to content

Commit 5c1e0f8

Browse files
committed
run coverity scan
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 0568da9 commit 5c1e0f8

File tree

1 file changed

+22
-3
lines changed

1 file changed

+22
-3
lines changed

.github/workflows/sca.yml

Lines changed: 22 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,26 @@ jobs:
2323
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
2424
with:
2525
fetch-depth: 0
26-
persist-credentials: false
26+
27+
- name: Set Up Python ${{ matrix.python-version }}
28+
uses: actions/setup-python@8d9ed9ac5c53483de85588cdf95a591a75ab9f55 # v5.5.0
29+
with:
30+
python-version: ${{ matrix.python-version }}
31+
cache: pip
32+
cache-dependency-path: scripts/requirements-actions.txt
33+
34+
- name: install-packages
35+
run: |
36+
pip install -r scripts/requirements-actions.txt --require-hashes
37+
38+
- name: Setup Zephyr project
39+
uses: nashif/action-zephyr-setup@main
40+
with:
41+
app-path: .
42+
sdk-version: 0.17.0
43+
toolchains: all
44+
west-group-filter: -hal,-tools,-bootloader,-babblesim
45+
west-project-filter: -nrf_hw_models
2746

2847
- name: SCA Setup
2948
uses: zephyrproject-rtos/action-sca-setup@main
@@ -35,6 +54,6 @@ jobs:
3554

3655
- name: Check Env
3756
run: |
38-
ls -la
39-
ls -la coverity/
57+
export COVERITY_OUTPUT_DIR=${PWD}/cov-int
58+
./scripts/twister -p qemu_x86 -T tests/kernel/threads/ -xZEPHYR_SCA_VARIANT=coverity
4059

0 commit comments

Comments
 (0)