Skip to content

Commit 5932494

Browse files
committed
upload coverity results
Signed-off-by: Anas Nashif <anas.nashif@intel.com>
1 parent 5c1e0f8 commit 5932494

File tree

1 file changed

+17
-1
lines changed

1 file changed

+17
-1
lines changed

.github/workflows/sca.yml

Lines changed: 17 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,21 @@ jobs:
5555
- name: Check Env
5656
run: |
5757
export COVERITY_OUTPUT_DIR=${PWD}/cov-int
58-
./scripts/twister -p qemu_x86 -T tests/kernel/threads/ -xZEPHYR_SCA_VARIANT=coverity
58+
./scripts/twister -p qemu_x86 -T samples/hello_world/ --build-only -v -xZEPHYR_SCA_VARIANT=coverity
5959
60+
tar -cJvf coverity-results.tar.xz cov-int
61+
62+
ver=`git describe`
63+
echo "PAYLOAD_VERSION=${ver}" >> $GITHUB_ENV
64+
echo "PAYLOAD_DESC=${ver}" >> $GITHUB_ENV
65+
66+
- name: Analyze
67+
uses: zephyrproject-rtos/action-sca-setup/analyze@main
68+
with:
69+
tool-name: coverity
70+
payload: coverity-results.tar.xz
71+
service: https://scan.coverity.com/builds?project=Zephyr+Testing
72+
user: ${{ secrets.COVERITY_USER }}
73+
token: ${{ secrets.COVERITY_TOKEN }}
74+
version: 0.1
75+
description: "dummy"

0 commit comments

Comments
 (0)