Skip to content

Commit

Permalink
add CI checks for coverity
Browse files Browse the repository at this point in the history
  • Loading branch information
tony-josi-aws committed Oct 23, 2023
1 parent b98bfee commit 1c6eb76
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/coverity_scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,10 @@ jobs:
export PATH="$PATH:${{env.cov_scan_path}}"
cov-build --dir cov-int make -j
tar czvf gcc_posix_fr_kernel.tgz cov-int
curl --form token=${COVERITY_TOKEN} \
COV_SCAN_UPLOAD_STATUS = $(curl --form token=${COVERITY_TOKEN} \
--form [email protected] \
--form file=@gcc_posix_fr_kernel.tgz \
--form version="Mainline" \
--form description="GCC Posix Demo" \
https://scan.coverity.com/builds?project=FreeRTOS-Kernel
https://scan.coverity.com/builds?project=FreeRTOS-Kernel)
echo "${COV_SCAN_UPLOAD_STATUS}" | grep -q -e 'Build successfully submitted' || echo >&2 "Error submitting build for analysis: ${COV_SCAN_UPLOAD_STATUS}"

0 comments on commit 1c6eb76

Please sign in to comment.