Skip to content

Commit a2a4485

Browse files
Coverity Report Directory Fix (#909)
* Revert "The curl command to send the report expects the tar file to be in its current directory. The step either needed to have the working-directory: set to the build directory, or the tar file needs to be created in the parent directory. (#903)" This reverts commit 76f3aa5. * Update to separate build and upload steps --------- Co-authored-by: tony-josi-aws <[email protected]>
1 parent dabbc05 commit a2a4485

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

.github/workflows/coverity_scan.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }} "
5050
5151
- env:
52-
stepName: Coverity Build & Upload for Scan
52+
stepName: Coverity Build
5353
COVERITY_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
5454
COVERITY_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
5555
shell: bash
@@ -64,6 +64,18 @@ jobs:
6464
# Move the report out of the build directory
6565
tar czvf ../gcc_freertos_kernel_sample_build.tgz cov-int
6666
67+
echo "::endgroup::"
68+
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }} "
69+
70+
- env:
71+
stepName: Upload Coverity Report for Scan
72+
COVERITY_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
73+
COVERITY_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
74+
shell: bash
75+
run: |
76+
# ${{ env.stepName }}
77+
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
78+
6779
COV_SCAN_UPLOAD_STATUS=$(curl --form token=${COVERITY_TOKEN} \
6880
--form email=${COVERITY_EMAIL} \
6981
--form file=@gcc_freertos_kernel_sample_build.tgz \

0 commit comments

Comments
 (0)