mirror of
https://github.com/FreeRTOS/FreeRTOS-Kernel.git
synced 2025-04-19 13:01:57 -04:00
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 76f3aa5b05
.
* Update to separate build and upload steps
---------
Co-authored-by: tony-josi-aws <tonyjosi@amazon.com>
This commit is contained in:
parent
dabbc05a39
commit
a2a4485ed3
14
.github/workflows/coverity_scan.yml
vendored
14
.github/workflows/coverity_scan.yml
vendored
|
@ -49,7 +49,7 @@ jobs:
|
|||
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }} "
|
||||
|
||||
- env:
|
||||
stepName: Coverity Build & Upload for Scan
|
||||
stepName: Coverity Build
|
||||
COVERITY_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||
COVERITY_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
|
||||
shell: bash
|
||||
|
@ -64,6 +64,18 @@ jobs:
|
|||
# Move the report out of the build directory
|
||||
tar czvf ../gcc_freertos_kernel_sample_build.tgz cov-int
|
||||
|
||||
echo "::endgroup::"
|
||||
echo -e "${{ env.bashPass }} ${{ env.stepName }} ${{ env.bashEnd }} "
|
||||
|
||||
- env:
|
||||
stepName: Upload Coverity Report for Scan
|
||||
COVERITY_TOKEN: ${{ secrets.COVERITY_SCAN_TOKEN }}
|
||||
COVERITY_EMAIL: ${{ secrets.COVERITY_SCAN_EMAIL }}
|
||||
shell: bash
|
||||
run: |
|
||||
# ${{ env.stepName }}
|
||||
echo -e "::group::${{ env.bashInfo }} ${{ env.stepName }} ${{ env.bashEnd }}"
|
||||
|
||||
COV_SCAN_UPLOAD_STATUS=$(curl --form token=${COVERITY_TOKEN} \
|
||||
--form email=${COVERITY_EMAIL} \
|
||||
--form file=@gcc_freertos_kernel_sample_build.tgz \
|
||||
|
|
Loading…
Reference in a new issue